Commit Graph

78 Commits

Author SHA1 Message Date
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
Robert Moore
e9c96d5983 ACPI 5.0/ASLTS: Add common header output for descriptor suite.
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.
2011-11-10 10:10:26 +08:00
Robert Moore
9d537381e4 ACPI 5.0/ASLTS: Add tests for new resource descriptors.
Initial implementation of new tests; more test cases to be
added later.
2011-11-10 10:10:26 +08:00
Robert Moore
7f54738fd4 ACPI 5.0/ApiTest: Update for new field attribute names.
SMBus specific names have been renamed.
2011-11-10 10:10:24 +08:00
Robert Moore
365742767b ASLTS: update master script to handle 32/64 bit cases.
Always generate the native width tools.
2011-10-21 08:38:51 -07:00
Robert Moore
348a6da123 Tests-ASLTS: Update for resource descriptor changes.
Resource tag references now always return a bit offset, not
sometimes bit, sometimes byte. Update descriptor tests to
reflect this change.
2011-10-05 12:22:03 -07:00
Robert Moore
c7c6a163ea Tests: Add master script to generate and run ASLTS.
Compile iASL/AcpiExec, compile tests, run ASLTS.
"All in one". Lin Ming, Bob Moore.
2011-09-29 14:08:16 -07:00
Robert Moore
c9b25b3250 Tests: Fix ASLTS "Do" script for incorrect use of $PWD.
Did not work on all platforms.
2011-09-29 14:07:05 -07:00
Robert Moore
aa94fcaa88 Update badcode.asl example for resource tag length checks.
iASL now checks lengths of fields created against resource tags,
they must match.
2011-09-28 10:11:28 -07:00
Robert Moore
5e40c31ec4 Tests: Add unix setup file for ASLTS suite.
more unix flavor than the .cygwin file.
2011-09-13 15:04:45 -07:00
Robert Moore
3ff4069333 Tests: Fix an illegal _HID within alsts.
Change several _HID strings.
2011-09-13 12:44:17 -07:00
Robert Moore
ed36d8b39c Tests: Fix possible buffer overrun in API test.
acpi_pci_link_set.
2011-06-01 10:34:41 -07:00
Robert Moore
3b47687988 Tests: Update API test for changes to AcpiOsGetLine.
Update for changes to this AcpiOs interface.
2011-05-18 09:00:56 -07:00
Robert Moore
d35df404d7 Merge branch 'master' of ssh://git.moblin.org/acpica 2011-04-13 09:09:57 -07:00
Robert Moore
904b85ce87 badcode.asl: update for iASL return value checking change.
Add a new case for a method that returns no value, but one
is expected.
2011-04-13 09:06:21 -07:00
Robert Moore
2a4a42a8c2 Tests: Update aslts for tighter iASL return value checking.
Fixed two cases where a test defined a method that did not
explicitly return a value, then later expected a return value.
2011-04-13 08:32:54 -07:00
Robert Moore
8fb5b2894d badcode.asl: Show warning for _REG with no region.
Example of warning if a _REG has no corresponding operation region
declaration within the same scope.
2011-03-30 13:09:29 -07:00
Robert Moore
13083aae63 Tests: Update for new DataTable region space ID value.
Moved from 8 to 0x7E
2011-03-25 13:29:26 -07:00
Robert Moore
a7064f1a22 Tests: Update badcode.asl for iASL GPE type collision detection.
Add a collision between _Lxx and _Exx names, iASL now detects this.
2011-02-08 13:02:03 -08:00
Robert Moore
ac3a38aaf5 iASL: Warn if reserved method incorrectly returns a value.
Many predefined names are defined such that they do not return
a value. If implemented as a method, issue a warning if such
a name returns a value. ACPICA BZ 855.
2011-01-27 13:45:46 -08:00
Robert Moore
e1db8565bc Tests: Update all copyrights to 2011.
test suites only.
2011-01-03 14:04:49 -08:00
Robert Moore
bf913c651e Tests: Update include file ordering.
ACPICA-specific headers must appear before system headers
like stdio.h
2010-12-17 17:10:23 -08:00
Robert Moore
064e90b753 Update examples/tests for new GPE changes.
Add new file to project files, update API tests for GPE
interface changes.
2010-12-08 10:21:23 -08:00
Robert Moore
a1d2af4804 Tests: update badcode example file for new iASL error messages.
new _CID/_HID error messages.
2010-11-03 10:38:40 -07:00
Robert Moore
2e7745a40b Tests: Update badcode.asl for new iASL error checks.
New _HID checks and null resource descriptor check.
2010-10-06 08:30:54 -07:00
Robert Moore
cd18a057a9 Tests: Update aapits for interface changes.
Also add new file (utosi.c) to project file.
2010-08-06 09:03:32 -07:00
Robert Moore
139ed8b13d Tests: Update aapits for interface changes.
Also add new files to project file.
2010-07-02 08:45:07 -07:00
Robert Moore
cd3f1db755 iASL: Fully enable Data Table Compiler (DTC).
No option needed to invoke DTC. Compiler auto-detects ASl code
versus DT code.
2010-06-18 14:52:34 -07:00
Robert Moore
2992688b8f Tests: new test for template generator and data table compiler.
in tests/templates.
2010-06-11 14:13:21 -07:00
Robert Moore
4ac33e7d2f Tests: update script for changed acpiexec options.
Some options are renamed
2010-05-19 13:56:07 -07:00