| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This changes hard-coded digits to macros.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
|
|
|
|
|
|
| |
This is done by replacing hardcorded index values with __LINE__ macro
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This removes most of the TS objects which is used to store method names.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
|
|
|
|
| |
All ASL code in the test suite.
|
|
|
|
| |
Mostly trailing spaces and extra lines at EOF.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
|
|
|
|
|
|
| |
instead of indices.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Affects all source files.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
More changes to fix incorrect control method invocation.
similar to previous commit.
|
|
|
|
|
| |
A bunch of tests were invoking the wrong control method.
New iASL caught these because the number of arguments were wrong.
|
|
|
|
|
|
|
|
| |
Was always returning AE_NOT_FOUND, even if the table was found.
Affected these ASL operators:
DataTableRegion
LoadTable
|
|
|
|
| |
Affects all source files.
|
|
|
|
| |
Some tests are now obsolete and have been commented out.
|
|
|
|
| |
Set correctly to 644.
|
|
|
|
| |
Set execute bit to force commit.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
This reverts commit 28a95326289ca5ee7cd95f8e8e809dc5564d9509.
Commit mistakenly changes file format to CRLF from default LF.
|
| |
|
|
|
|
| |
Test suites only. Includes headers in all ASL test code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
This change greatly reduces the remark that iASL emits when a
non-serialized control method creates named objects. David Box.
|
|
|
|
|
| |
This is now an error in iASL, so must be fixed in the test suite.
Chao Guan.
|
|
|
|
| |
Test suites only. Includes headers in all ASL test code.
|
|
|
|
|
| |
Remove another issue with the m006 method.
Chao Guan.
|
|
|
|
|
| |
Two tests found to be based on incorrect assumptions about ACPI and
ACPICA behavior. Chao Guan.
|
|
|
|
|
| |
These operators do not change the type of the target object, due
to implicit conversion rules. Chao Guan.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Test mf77 is an invalid test case that also fails on Windows.
This change comments out the test permanently. Chao Guan.
|
|
|
|
| |
Serialize methods that use Switch(), use ToInteger where appropriate.
|
|
|
|
| |
Fix some warnings related to the use of Switch().
|
|
|
|
| |
Test suites only.
|
|
|
|
| |
test suites only.
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
Also removed obsolete developer names and email addresses.
Automated tool removed some extraneous space characters.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Named references are resolved to objects immediately. Except for control methods.
|
|
|