summaryrefslogtreecommitdiff
path: root/tests/aslts/src/runtime
Commit message (Collapse)AuthorAgeFilesLines
* ASLTS: Serialize all methods that create named objects.Robert Moore2013-08-02343-1924/+1924
| | | | | This change greatly reduces the remark that iASL emits when a non-serialized control method creates named objects. David Box.
* ASLTS: Some additional fixes to support recent DerefOf behavior change.Robert Moore2013-07-252-2/+6
| | | | Can no longer DerefOf on an uninitialized package element.
* ASLTS: Handle new exception for DerefOf operator.Robert Moore2013-07-251-7/+7
| | | | | | | | Changed the error checking function to correctly expect two errors (instead of one) and to correctly check for the exception AE_AML_UNINITIALIZED_ELEMENT when unitialized objects are referenced. Signed-off-by: David E. Box <david.e.box@linux.intel.com>
* ASLTS: Handle ACPICA change that now causes multiple errors in testRobert Moore2013-07-241-1/+10
| | | | | | M708 expects errors. Recent DerefOf change in ACPICA now causes two errors instead of one. This change fixes the test to expect this. David Box.
* ASLTS: Fix for region test.Robert Moore2013-07-231-1/+2
| | | | | | | | | | | Fixes AE_NOT_EXIST error by including a conditional for the EmbeddedControl which does not have a handler in the interpreter. Also fixes AML_NO_RETURN_VALUE errors due the Derefof patch fix by referencing the correct value that should be returned and checked against by a Derefof operation. Signed-off-by: David E. Box <david.e.box@linux.intel.com>
* ASLTS: Update bdemo/0241 test to expect two errors, not just one.Robert Moore2013-07-171-1/+10
| | | | Change in ACPICA behavior after DeRefOf fix.
* Tests/ASLTS: miscellaneous fixes to resolve test errors.Robert Moore2013-07-036-44/+29
| | | | Reduces runtime error count(s). Chao Guan.
* Tests: Misc aslts error fixes for Identity2MS test.Robert Moore2013-06-211-49/+39
| | | | | Fixes some problems with the test itself, reducing runtime errors. Chao Guan.
* ASLTS: Fix for test MS2C.Robert Moore2013-06-041-1/+1
| | | | Fixes a bug in this test. Chao Guan.
* ASLTS: Miscellaneous tests updates/fixes.Robert Moore2013-04-164-14/+17
| | | | | | | | | STST:exceptions:exc_tbl:TUL1.tst5 STST:exceptions:exc_tbl:TLT1.tsth STST:exceptions:exc_tbl:TLD1.tste.0 STST:Identity2MS:abbu:ms14 Chao Guan.
* Tests/ASLTS: Global update for exception handling.Robert Moore2013-03-0717-96/+182
| | | | | Now some differences between slack mode and regular mode. Chao Guan.
* Tests/ASLTS: Fix all cases of "return value not used".Robert Moore2013-03-0771-6155/+1618
| | | | | This is now an error in iASL, so must be fixed in the test suite. Chao Guan.
* Tests: Update ASLTS for new iASL package validation.Robert Moore2013-02-131-1/+1
| | | | Fixes a compile error in m764 - GPIO test.
* Test suites: Miscellaneous ASLTS updates.Robert Moore2013-02-062-31/+77
| | | | | Updates to resolve and reduce runtime test errors. Chao Guan.
* Tests: Update all copyrights to 2013.Robert Moore2013-01-081236-1240/+1240
| | | | Test suites only. Includes headers in all ASL test code.
* ASLTS: Remove an invalid error condition.Robert Moore2012-12-141-1/+2
| | | | | Remove another issue with the m006 method. Chao Guan.
* ASLTS: Remove a couple of incorrect tests.Robert Moore2012-12-122-2/+8
| | | | | Two tests found to be based on incorrect assumptions about ACPI and ACPICA behavior. Chao Guan.
* Tests: Fix problem with Increment/Decrement ASL tests.Robert Moore2012-12-072-5/+4
| | | | | These operators do not change the type of the target object, due to implicit conversion rules. Chao Guan.
* ASLTS: Fix several issues with mutex tests.Robert Moore2012-11-292-22/+29
| | | | Global acquire/release tests are note valid, removed.
* ASLTS: update package name for the bug demo test (bdemo).Robert Moore2012-11-271-1/+1
| | | | | Change name from bug-demo to bdemo because this matches the source directory structure. Chao Guan.
* ASLTS: Update for ObjectType syntax change.Robert Moore2012-11-2613-54/+71
| | | | | | | | | A method invocation is no longer legal as an argument to ObjectType. This is because the interpreter cannot determine the difference between a simple ObjectType on a method versus a method invocation that is intended to return an object to be typed. This is pending as a change to the ACPI specification.
* ASLTS: Remove a test case for ObjectType operator.Robert Moore2012-11-161-11/+15
| | | | | | | Removed a test that invokes a control method for an ObjectType argument. This does not work properly (method is not invoked), and the ability to use this construct is being removed from the grammar for ObjectType. (Requires a change to the ACPI specification.) Chao Guan.
* ASLTS: Remove test that tests a nearly impossible condition.Robert Moore2012-11-161-2/+19
| | | | | | | For LoadTable tests, remove the the test that uses Load() to load a table, then unloads the table, then uses LoadTable to load the same table. This would be highly improbable in the real world. Chao Guan.
* ASLTS: Update for changed exception codes for LoadTable operator.Robert Moore2012-11-161-10/+11
| | | | | Changed AE_BAD_PARAMETER to AE_AML_STRING_LIMIT in acpica. Chao Guan.
* ASLTS: Remove an invalid/obsolete test case.Robert Moore2012-11-091-26/+30
| | | | | Test mf77 is an invalid test case that also fails on Windows. This change comments out the test permanently. Chao Guan.
* ASLTS: Fix for several incorrect AE_AML_MUTEX_ORDER errors.Robert Moore2012-11-082-8/+8
| | | | | Problem was with the test itself. Chao Guan.
* Tests: Miscellaneous ASLTS fixes.Robert Moore2012-10-113-75/+6
| | | | | | Remove several tests that cause errors because the tests are invalid or the basis of the tests are invalid. Fix several error reporting issues. Guan Chao.
* Test Suites: Update ASLTS object reference tests.Robert Moore2012-09-131-4/+6
| | | | | Fixes a couple bugs in the object reference tests. Guan Chao.
* Test suites: Several fixes for ASLTS recursion subtest.Robert Moore2012-08-311-22/+27
| | | | | Fixes a couple bugs that allow the test to run without error. Chao Guan.
* Tests: Update aslts for AcpiExec SSDT1 table changes.Robert Moore2012-07-093-25/+33
| | | | | Some tests depend on the SSDT1 table that is defined and loaded by AcpiExec code.
* Tests/ASLTS: Update for iASL/descriptor fixes.Robert Moore2012-04-063-123/+124
| | | | | | Update for iASL fix for StartDependendent* descriptors. The iASL bug did not take into account the length of these descriptors, affecting the offsets for any resource tags that follow.
* Tests/ASLTS: Update error output routines, reformat output.Robert Moore2012-04-061-15/+45
| | | | | Cleanup output, add decimal values in addition to hex values for integers.
* Tests/ASLTS: Reduce warnings related to use of Switch().Robert Moore2012-04-0429-516/+525
| | | | Serialize methods that use Switch(), use ToInteger where appropriate.
* Tests/aslts: Update for changed exception code.Robert Moore2012-03-201-2/+2
| | | | | Changed AE_BAD_PARAMETER to AE_BAD_PATHNAME for the case when an input string to AcpiEvaluateObject, etc. cannot be parsed.
* Tests: Update ASLTS for ACPI 5 update to the _REV object.Robert Moore2012-02-131-2/+2
| | | | _REV now returns 5 for ACPI 5.0.
* Tests: Fix some ASL generation warnings for ASLTS.Robert Moore2012-01-064-56/+56
| | | | Fix some warnings related to the use of Switch().
* Tests: Update all copyrights to 2012.Robert Moore2012-01-031236-1247/+1245
| | | | Test suites only.
* ASLTS: Cleanup compilation of functional tests.Robert Moore2011-11-1017-117/+122
| | | | Fix various warnings, especially warnings from use of Switch.
* ACPI 5.0/ASLTS: Update for new GpioIo keyword.Robert Moore2011-11-101-0/+44
| | | | Add IoRestrictionNoneAndPreserve.
* ACPI 5.0/ASLTS: Update "table" tests.Robert Moore2011-11-106-76/+75
| | | | Remove PSDT tests (obsolete), fix several exception code issues.
* ACPI 5.0/ASLTS: Update for new operation region Space IDs.Robert Moore2011-11-108-997/+2023
| | | | | | | | | | | Add GenericSerialBus and GeneralPurposeIo. Also support for new AccessAs attributes as well as the Connection() operator. Fixed some generic problems with the tests so that they compile with no warnings, and execute with zero errors. Some tests are still blocked for lack of support, especially for IndexFields.
* ACPI 5.0/ASLTS: Finish tests for new resource descriptors.Robert Moore2011-11-107-93/+9019
| | | | Adds full support for the six new resource descriptors for ACPI 5.0
* ACPI 5.0/ASLTS: Add common header output for descriptor suite.Robert Moore2011-11-1034-38/+205
| | | | | | Added function THDR that emits a common header and sets the filename via the __FILE__ operator. This function can be deployed across the entire ASLTS suite.
* ACPI 5.0/ASLTS: Add tests for new resource descriptors.Robert Moore2011-11-1010-0/+645
| | | | | Initial implementation of new tests; more test cases to be added later.
* Tests-ASLTS: Update for resource descriptor changes.Robert Moore2011-10-0523-454/+498
| | | | | | Resource tag references now always return a bit offset, not sometimes bit, sometimes byte. Update descriptor tests to reflect this change.
* Tests: Fix an illegal _HID within alsts.Robert Moore2011-09-133-3/+3
| | | | Change several _HID strings.
* Tests: Update aslts for tighter iASL return value checking.Robert Moore2011-04-132-2/+2
| | | | | Fixed two cases where a test defined a method that did not explicitly return a value, then later expected a return value.
* Tests: Update for new DataTable region space ID value.Robert Moore2011-03-251-2/+2
| | | | Moved from 8 to 0x7E
* Tests: Update all copyrights to 2011.Robert Moore2011-01-031230-1230/+1230
| | | | test suites only.
* Tests: Automated cleanup and copyright update to 2010.Robert Moore2010-01-081230-1230/+1230
| | | | | | | Update all module headers with 2010 copyright. Also includes the automated cleanup, this is the first time it has been run on the test suite source, so there are quite a few changes (removal of extra spaces at the end-of-line, etc.)