107 Commits

Author SHA1 Message Date
Robert Moore
3d39b6d688 Tests/ASLTS: Update master script for recent makefile changes.
bin32/bin64 changed to simple "bin".
2013-05-09 09:21:59 -07:00
Robert Moore
fad0d289af Deploy ACPI_DEBUG_INITIALIZE across all ACPICA utilities.
This macros enables per-host and per-compiler initialization
of debug information/output, etc. for the debug versions of the
utilities only.
2013-05-02 11:40:20 -07:00
Robert Moore
80c3cc3255 ASLTS: Miscellaneous tests updates/fixes.
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.
2013-04-16 12:40:23 -07:00
Robert Moore
994f5e3bfa Tests/ASLTS: Global update for exception handling.
Now some differences between slack mode and regular mode.
Chao Guan.
2013-03-07 14:01:50 -08:00
Robert Moore
8509166557 Tests/ASLTS: Fix all cases of "return value not used".
This is now an error in iASL, so must be fixed in the test suite.
Chao Guan.
2013-03-07 13:58:57 -08:00
Robert Moore
05f01ddd47 Tests: Update ASLTS for new iASL package validation.
Fixes a compile error in m764 - GPIO test.
2013-02-13 08:03:36 -08:00
Robert Moore
027053cf58 Test suites: Miscellaneous ASLTS updates.
Updates to resolve and reduce runtime test errors.
Chao Guan.
2013-02-06 13:33:52 -08:00
Robert Moore
c0a9146fa9 Tests: Update all copyrights to 2013.
Test suites only. Includes headers in all ASL test code.
2013-01-08 09:25:38 -08:00
Robert Moore
9eb35c2518 ASLTS: Remove an invalid error condition.
Remove another issue with the m006 method.
Chao Guan.
2012-12-14 09:30:58 -08:00
Robert Moore
bfc6a107b3 ASLTS: Remove a couple of incorrect tests.
Two tests found to be based on incorrect assumptions about ACPI and
ACPICA behavior. Chao Guan.
2012-12-12 08:47:37 -08:00
Robert Moore
aa3b6824ac Tests: Fix problem with Increment/Decrement ASL tests.
These operators do not change the type of the target object, due
to implicit conversion rules. Chao Guan.
2012-12-07 10:10:03 -08:00
Robert Moore
016e87a5a6 ASLTS: Fix several issues with mutex tests.
Global acquire/release tests are note valid, removed.
2012-11-29 14:01:58 -08:00
Robert Moore
187747bca3 ASLTS: update package name for the bug demo test (bdemo).
Change name from bug-demo to bdemo because this matches the source
directory structure. Chao Guan.
2012-11-27 08:50:27 -08:00
Robert Moore
53f8c132e4 ASLTS: Update for ObjectType syntax change.
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.
2012-11-26 09:41:27 -08:00
Robert Moore
4fbff1f055 ASLTS: Update generation/execution scripts.
Improve ease-of-use and clean up extraneous summary output.
2012-11-21 11:14:41 -08:00
Robert Moore
8f69e2b6f8 ASLTS: Remove a test case for ObjectType operator.
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.
2012-11-16 09:01:17 -08:00
Robert Moore
c93543b857 ASLTS: Remove test that tests a nearly impossible condition.
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.
2012-11-16 08:53:53 -08:00
Robert Moore
c2d6c80dfa ASLTS: Update for changed exception codes for LoadTable operator.
Changed AE_BAD_PARAMETER to AE_AML_STRING_LIMIT in acpica.
Chao Guan.
2012-11-16 08:49:25 -08:00
Robert Moore
947575f335 ASLTS: Remove an invalid/obsolete test case.
Test mf77 is an invalid test case that also fails on Windows.
This change comments out the test permanently.  Chao Guan.
2012-11-09 08:43:11 -08:00
Robert Moore
f63f02b481 ASLTS: Fix for several incorrect AE_AML_MUTEX_ORDER errors.
Problem was with the test itself.
Chao Guan.
2012-11-08 14:11:05 -08:00
Robert Moore
1dbda3d3e1 Tests: Miscellaneous ASLTS fixes.
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.
2012-10-11 08:57:11 -07:00
Robert Moore
8ab2f175bf Tests/aapits: Remove extraneous spaces in C source code.
Remove extra spaces after periods and commas.
2012-09-27 09:39:08 -07:00
Robert Moore
5cf391810f Fix some typos in comments. No functional changes.
Some small fixes within commments. Colin Ian King.
2012-09-25 12:28:13 -07:00
Robert Moore
c0b396e9a2 iASL/Tools: Cleanup empty lines at file start and end.
Maintenance for source code consistency.
2012-09-21 13:45:48 -07:00
Robert Moore
8086d9e839 Tests/AAPITS: return statement audit.
Ensure that all normal return statements surround the return
expression (value) with parens, for consistency.
2012-09-21 09:51:55 -07:00
Robert Moore
54983bb3f6 Test Suites: Update ASLTS object reference tests.
Fixes a couple bugs in the object reference tests.
Guan Chao.
2012-09-13 09:37:51 -07:00
Robert Moore
3d75370ac8 Test Suites: Add more debug info to ASLTS makefile.
Emits more information about each compile to the compile log
file.
2012-08-31 13:06:10 -07:00
Robert Moore
7bcb9f04c0 Test suites: Several fixes for ASLTS recursion subtest.
Fixes a couple bugs that allow the test to run without error.
Chao Guan.
2012-08-31 12:27:46 -07:00
Robert Moore
33b1aae263 Remove all use of deprecated _GTS and _BFS methods.
The _GTS (Going To Sleep) and _BFS (Back From Sleep) methods are
essentially deprecated and will probably be removed from the ACPI
specification. Windows does not invoke them, and reportedly never
will. The final nail in the coffin is that the ACPI specification
states that these methods must be run with interrupts off, which
is not going to happen in a kernel interpreter. Tang Feng.
Note: Linux has removed all use of the methods also. It was discovered
that invoking these functions caused failures on some machines,
probably because they were never tested since Windows does not
call them.
2012-08-09 12:57:11 -07:00
Robert Moore
b3e9f9a93b Tests: Update aslts for AcpiExec SSDT1 table changes.
Some tests depend on the SSDT1 table that is defined and loaded
by AcpiExec code.
2012-07-09 13:41:48 -07:00
Robert Moore
5ff986a2a9 Introduce AcpiOsWaitEventsComplete interface.
This interface will block until asynchronous events like notifies
and GPEs are complete. Within ACPICA, it is called before a notify or GPE
handler is removed. ACPICA BZ 868.
2012-05-16 13:36:07 -07:00
Robert Moore
01d5902500 Tests: Update master ASLTS makefile for test messages.
Fix message output to emit correct iASL flags.
2012-05-02 13:39:56 -07:00
Robert Moore
c760d1f111 AcpiExec: Update to test multiple notify handler support.
Installs/removes multiple notify handlers. Also update grammar.asl
to test multiple handlers.
2012-04-20 09:19:48 -07:00
Robert Moore
5a77df1622 Tests/ASLTS: Update for iASL/descriptor fixes.
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.
2012-04-06 14:16:48 -07:00
Robert Moore
ac3c089229 Tests/ASLTS: Update error output routines, reformat output.
Cleanup output, add decimal values in addition to hex values for
integers.
2012-04-06 14:15:59 -07:00
Robert Moore
4d6063a105 Tests/ASLTS: Reduce warnings related to use of Switch().
Serialize methods that use Switch(), use ToInteger where appropriate.
2012-04-04 14:15:37 -07:00
Robert Moore
b762724fb0 Tests: for ASLTS, enable iASL error messages and send to logfile.
Messages sent to error.txt file.
2012-04-04 14:14:35 -07:00
Robert Moore
f6ce330af4 Tests: Update ASLTS makefiles and scripts.
Emit all compiler output to the aml/compiler.txt file.
Remove two extraneous unrecognized operator messages.
2012-04-04 10:23:43 -07:00
Robert Moore
bdfb751cb5 Tests/aapits: Update for sleep interface change.
A new parameter was added to two sleep interfaces.
2012-03-20 08:31:13 -07:00
Robert Moore
bc1f940657 Tests/aslts: Update for changed exception code.
Changed AE_BAD_PARAMETER to AE_BAD_PATHNAME for the case when
an input string to AcpiEvaluateObject, etc. cannot be parsed.
2012-03-20 07:49:11 -07:00
Robert Moore
4a31754f8e Tests: Update ASLTS for ACPI 5 update to the _REV object.
_REV now returns 5 for ACPI 5.0.
2012-02-13 12:27:00 -08:00
Robert Moore
04c1905e62 Tests: Update apitest for OsPhysicalTableOverride.
Add a placeholder for the new OSL interface.
2012-02-10 13:11:49 -08:00
Robert Moore
5f42e911bd Tests: Update aapits for OSL memory read/write interface changes.
AcpiOsReadMemory and AcpiOsWriteMemory have been widened to
64 bits.
2012-02-02 13:42:45 -08:00
Robert Moore
37518f13ca Tests: Fix some ASL generation warnings for ASLTS.
Fix some warnings related to the use of Switch().
2012-01-06 13:50:06 -08:00
Robert Moore
3fc92044b2 Tests: Update all copyrights to 2012.
Test suites only.
2012-01-03 14:30:12 -08:00
Robert Moore
5a343a31be ASLTS: Cleanup compilation of functional tests.
Fix various warnings, especially warnings from use of Switch.
2011-11-10 10:10:26 +08:00
Robert Moore
ee6f67bbf7 ACPI 5.0/ASLTS: Update for new GpioIo keyword.
Add IoRestrictionNoneAndPreserve.
2011-11-10 10:10:26 +08:00
Robert Moore
961e9a0fc3 ACPI 5.0/ASLTS: Update "table" tests.
Remove PSDT tests (obsolete), fix several exception code issues.
2011-11-10 10:10:26 +08:00
Robert Moore
f41de9a75e ACPI 5.0/ASLTS: Update for new operation region Space IDs.
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.
2011-11-10 10:10:26 +08:00
Robert Moore
0a3d16901f ACPI 5.0/ASLTS: Finish tests for new resource descriptors.
Adds full support for the six new resource descriptors for ACPI 5.0
2011-11-10 10:10:26 +08:00