summaryrefslogtreecommitdiff
path: root/tests/aslts/src/runtime/collections/complex
Commit message (Collapse)AuthorAgeFilesLines
* ASLTS: Change CH03 to use __LINE__ and __METHOD__ macrosErik Schmauss2018-02-2627-391/+391
| | | | | | This changes hard-coded digits to macros. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: change CH04 to emit line numbers instead of indexErik Schmauss2018-02-1614-123/+123
| | | | | | This is done by replacing hardcorded index values with __LINE__ macro Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: adding macros to ERR functionsErik Schmauss2018-02-1429-673/+673
| | | | | | | | | | This change replaces the first parameter of ERR with __METHOD__ in bdemo testcases and replaces the third parameter of ERR with __LINE__. The __METHOD macro evaluates to the current method and __LINE__ evaluates to the current line number during compilation. By doing these macros help clarify error messages in ASLTS. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: replace TS with __METHOD__ to improve styleErik Schmauss2018-01-0425-1091/+1028
| | | | | | This removes most of the TS objects which is used to store method names. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: Update all copyrights to 2018Robert Moore2018-01-0483-83/+83
| | | | All ASL code in the test suite.
* ASLTS: Automated cleanup, no functional changesRobert Moore2018-01-0454-7354/+7300
| | | | Mostly trailing spaces and extra lines at EOF.
* ASLTS: converting files to ASL plus with converterErik Schmauss2017-11-1072-288032/+281224
| | | | | | | functional/control test case has been left unconverted for readability of deeply nested control statements (if, switch, while) Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: resolving conflict from rebasingErik Schmauss2017-07-2129-591/+591
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: changing the third argument of ERR to __LINE__ to print line numbers ↵Erik Schmauss2017-07-2130-698/+698
| | | | | | instead of indices. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: exc_result2: Fix old m689 breakage (exceptional)Lv Zheng2017-05-031-0/+4
| | | | | | | | When tests are meant to return exceptions, proceeding causes unexpected number of exceptions left. This patch fixes such issues by interrupting the tests when exception is expected. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
* ASLTS: rstore: Fix old m689 breakage (store matrix)Lv Zheng2017-05-031-3/+3
| | | | | | | | | | | | | | | | | | The p6a0 store matrix is used to indicate "Stroe" allowable types while b67a contains indexes to this matrix. 1. Row[3] is used for Package target, Row[4] is used for Method target, Row[5] is used for Non-computational data (Device/Event/...) target. 2. Col[2] is used for FIXED fields result, Col[3] is used for Computational data (Integer/String/Buffer) result, Col[4] is used for Package result. As it is not possible to: 1. Store(Package/Method/Noncomputation, Field/Computationl/Package) 2. Store(Method/Noncomputation, Field/Computational) We must change the matrix to reflect the validated Windows behavior. By doing so, several m689 failures are fixed. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
* Tests: Update copyright notices to 2017Robert Moore2017-01-0683-83/+83
| | | | Affects all source files.
* Test suite: Update for ASL grammar changes:Robert Moore2016-11-041-25/+32
| | | | | | | Tests related to these grammar changes have been removed/commented-out: RefOf, DerefOf, ObjectType: Control method invocation as an operand is no longer supported by the ASL grammar.
* ASL test suite: Additional changes for method invocationsRobert Moore2016-09-161-21/+21
| | | | | More changes to fix incorrect control method invocation. similar to previous commit.
* ASL test suite: Fix incorrect method invocationsRobert Moore2016-09-1412-238/+222
| | | | | A bunch of tests were invoking the wrong control method. New iASL caught these because the number of arguments were wrong.
* Fix for incorrect status from AcpiTbFindTableRobert Moore2016-09-141-1/+18
| | | | | | | | Was always returning AE_NOT_FOUND, even if the table was found. Affected these ASL operators: DataTableRegion LoadTable
* Tests: Update copyright notices to 2016Robert Moore2016-01-0683-83/+83
| | | | Affects all source files.
* Test suites: Update ASLTS for iASL typechecking changes.Robert Moore2015-09-304-23/+32
| | | | Some tests are now obsolete and have been commented out.
* Update test file permissions (2)Robert Moore2015-09-2386-0/+0
| | | | Set correctly to 644.
* Update test file permissions (1)Robert Moore2015-09-2386-0/+0
| | | | Set execute bit to force commit.
* Tests: Update constants for iASL constant folding changes.Robert Moore2015-03-112-2/+4
| | | | | | | | The iASL constant folding is has been updated. Update ASLTS to reflect this. We must force some operations to bypass the constant folding so that there are no compile-time errors, and the runtime error checking is tested instead. In other words, more errors are now caught during the compile.
* Update Copyright headers to 2015.David E. Box2015-01-2783-83/+83
|
* Revert "source and test: update copyright notices to 2015"David E. Box2015-01-2786-289744/+289744
| | | | | | This reverts commit 28a95326289ca5ee7cd95f8e8e809dc5564d9509. Commit mistakenly changes file format to CRLF from default LF.
* source and test: update copyright notices to 2015David E. Box2015-01-2386-289744/+289744
|
* Tests: Update all copyrights to 2014.Robert Moore2014-01-0683-83/+83
| | | | Test suites only. Includes headers in all ASL test code.
* ASLTS: Fixes for slack mode failures.Robert Moore2013-12-171-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the failure reported for the following ASLTS test: exceptions:exc_result2:m692-Inc-Exc (32/64 bit slack mode) exceptions:exc_result2:m692-Dec-Exc (32/64 bit slack mode) The test cases expect exceptions generated for mismatched types during implicit conversions happened to Increment/Decrement opcodes. And the [Unitialized] object could never be converted into object with any other types. But the "FAIL" is emitted due to the slack mode which converts [Uninitialized] operand into 0-valued Integer, thus no type mismatch can be examined for these test cases. The command to confirm this test: aslts.sh -m s32 -m s64 -c exc_result2 -t The result in __STATUS_OF_TESTS before applying this fix: ":STST:exceptions:exc_result2:m692-Inc-Exc:FAIL:Errors # 02 00 00 00:" ":STST:exceptions:exc_result2:m692-Dec-Exc:FAIL:Errors # 02 00 00 00:" The result in __STATUS_OF_TESTS after applying this fix: ":STST:exceptions:exc_result2:m692-Inc-Exc:PASS:" ":STST:exceptions:exc_result2:m692-Dec-Exc:PASS:" Signed-off-by: Lv Zheng <lv.zheng@intel.com>
* ASLTS: Serialize all methods that create named objects.Robert Moore2013-08-0230-315/+315
| | | | | This change greatly reduces the remark that iASL emits when a non-serialized control method creates named objects. David Box.
* Tests/ASLTS: Fix all cases of "return value not used".Robert Moore2013-03-0716-67/+67
| | | | | This is now an error in iASL, so must be fixed in the test suite. Chao Guan.
* Tests: Update all copyrights to 2013.Robert Moore2013-01-0883-83/+83
| | | | 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-121-1/+2
| | | | | 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-071-3/+2
| | | | | These operators do not change the type of the target object, due to implicit conversion rules. Chao Guan.
* ASLTS: Update for ObjectType syntax change.Robert Moore2012-11-261-0/+2
| | | | | | | | | 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 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.
* Tests/ASLTS: Reduce warnings related to use of Switch().Robert Moore2012-04-044-180/+180
| | | | Serialize methods that use Switch(), use ToInteger where appropriate.
* 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-0383-83/+83
| | | | Test suites only.
* Tests: Update all copyrights to 2011.Robert Moore2011-01-0383-83/+83
| | | | test suites only.
* Tests: Automated cleanup and copyright update to 2010.Robert Moore2010-01-0883-83/+83
| | | | | | | 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.)
* Tests: Update copyright to 2009.Robert Moore2009-03-2583-348/+193
| | | | | Also removed obsolete developer names and email addresses. Automated tool removed some extraneous space characters.
* Test suite: update tests for recent acpica changes.Robert Moore2008-07-291-1/+2
| | | | | | | These changes affected the tests: iASL: error if named object created in while loop iASL: minimum 1 interrupt in interrupt macro Table Load: table is now loaded at namespace root
* Changes required for update to Package contruction in interpreter.rmoore12007-11-141-1/+1
| | | | Named references are resolved to objects immediately. Except for control methods.
* Release 7 of ASLTS. Corresponds to ACPICA 20070320.rmoore12007-08-28114-0/+290760