summaryrefslogtreecommitdiff
path: root/tests/aslts
Commit message (Collapse)AuthorAgeFilesLines
* ASL test suite (ASLTS): Updated all copyrights to 2021.Robert Moore2021-01-051273-1275/+1275
|
* bdemo/ACPICA/bdemo/Makefile: Remove unneeded whitespace at end on lineElyes HAOUAS2020-10-261-1/+1
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* Tree-wide: fix various typos and spelling mistakesColin Ian King2020-07-3015-49/+49
| | | | | | Fix spelling issues found using the codespell checker Signed-off-by: Colin Ian King <colin.king@canonical.com>
* ASLTS: Replace inaccurate languageKees Cook2020-06-1311-209/+209
| | | | | | | | | | | | | | | | | The tests/ subdirectory contains confusing (and offensive) language that is not tied to any "external" specifications. The thread worker naming convention is more accurately named "Worker". (The controlling thread was already named "Controller".) Rename one file and update the language throughout. This removes 209 instances, leaving only the 67 that are tied to specification language. For background and further details on the technical and societal rationale for these changes, please see: https://tools.ietf.org/id/draft-knodel-terminology-01.html Signed-off-by: Kees Cook <kees@outflux.net>
* Fix typosElyes HAOUAS2020-04-0915-22/+22
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* Change PlatformCommChannel ASL keyword to PCCErik Kaneda2020-02-261-2/+2
| | | | | | | | | The former was proposed during specification discussions but it was dropped. This keyword was introduced to the ACPICA code base by mistake so this commit changes the keyword representing Platform Communication Channel to be PCC. Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
* Fix a typecast warning, and one typo in a comment.Robert Moore2020-02-111-1/+1
|
* Fix some typos within commentsRobert Moore2020-02-114-4/+4
| | | | Submitted by: ehaouas@noos.fr
* Remove some extra blank linesRobert Moore2020-01-222-2/+0
| | | | Mostly in generate and tests.
* ASLTS: Update all copyrights to 2020Robert Moore2020-01-091273-1275/+1275
| | | | All ASL code in the test suite.
* ASLTS: additional fixes for 32-bit optimized modeErik Schmauss2019-12-122-13/+35
| | | | | | fixes were made in onamedloc and rstore Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: abbu: fixing tests based on CreateField() changesErik Schmauss2019-12-113-28/+35
|
* ASLTS: bdemo: update expected values due to CreateField() changeErik Schmauss2019-12-116-52/+52
| | | | | | Test cases updated: 65, 67, 155, 161, 170, 191 Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: exc_operand2: fixing expected values due to CreateField() changeErik Schmauss2019-12-111-14/+8
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: exc: updating expected behavior to reflect CreateField() changeErik Schmauss2019-12-112-6/+6
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: rstore, rcopyobject: fix expected values to account for CreateField() ↵Erik Schmauss2019-12-112-184/+67
| | | | | | change Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: oreftonamed: change expected output to reflect changes in CreateField()Erik Schmauss2019-12-111-147/+66
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: onamedglob: fix expected values due to CreateField() changeErik Schmauss2019-12-111-128/+70
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: onamedloc: fixing expected values to reflect CreateField() changeErik Schmauss2019-12-111-6/+6
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: namespace: fixing values to reflect CreateField() changesErik Schmauss2019-12-112-5/+5
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: misc: fixing code to reflect CreateField() changeErik Schmauss2019-12-111-36/+12
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: region: fixing expected values to reflect CreateField() changeErik Schmauss2019-12-111-2/+2
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: bfield: fixing results to align with CreateField() changesErik Schmauss2019-12-111-23/+1
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: Reference: clean up and fix expected values for CreateField() ↵Erik Schmauss2019-12-119-1951/+1952
| | | | | | | | behavior change Clean up involves adding line numbers to error check control methods Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: control: add expected compiler error for duplicate case statementsErik Schmauss2019-12-111-1/+1
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: Remove trailing spacesRobert Moore2019-11-078-17/+17
| | | | | In the .asl files From: ehaouas@noos.fr
* Merge pull request #449 from SchmErik/pcc-fix-01Robert Moore2019-02-261-0/+134
|\ | | | | PCC operation region: fix if statement by correctly checking the SpaceId
| * ASLTS: adding PCC operation region testsErik Schmauss2019-02-221-0/+134
| | | | | | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* | Test suite: makefile changes for new iASL errorRobert Moore2019-02-226-6/+6
| | | | | | | | | | Checks for illegal forward references, must be ignored by some of the tests.
* | Revert "Test suite: Update makefiles for new iASL error"Robert Moore2019-02-226-6/+0
| | | | | | | | | | | | This reverts commit 65f57d734ce7036b8f8e081346835e3dd3c95979. Some issues with these changes.
* | Test suite: Update makefiles for new iASL errorRobert Moore2019-02-226-0/+6
|/ | | | | | iASL now detects illegal forward references. This error must be ignored by some tests. Makefiles updated.
* Trivial: fix spelling mistakesErik Schmauss2019-02-1472-159/+159
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: add flag to expect cross reference error during compilationErik Schmauss2019-02-0529-3/+30
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: Update all copyrights to 2019Robert Moore2019-01-081273-1275/+1275
| | | | All ASL code in the test suite.
* ASLTS: Region: get rid of nested comments that cause converter errorErik Schmauss2018-10-241-4/+4
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* Update for field accessRobert Moore2018-09-071-591/+365
| | | | Fix implemention of generic serial bus, cleanup for others.
* ASLTS: adding package resolution with table load testingErik Schmauss2018-05-072-0/+74
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* iASL: Add support to detect illegal forward referencesRobert Moore2018-04-202-2/+6
| | | | | | | | | Forward references have never been allowed within control methods, and now there are illegal from module-level code (This makes ACPICA compatible with "other" acpi implementations). Both types of fwd refs now generate an error message (this is also a new addition to iASL).
* ASLTS: parallelize ASLTS acpiexec execution for speedErik Schmauss2018-02-282-29/+28
| | | | | | | | | This change adds parallelization of ASLTS execution via xargs. This results in a performance gain of 2.3x (14m 22sec to 6m 7sec). Various functions and variables are exported so that they can be used in each run_test_case execution. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: Change CH03 to use __LINE__ and __METHOD__ macrosErik Schmauss2018-02-26159-1620/+1620
| | | | | | This changes hard-coded digits to macros. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: change M380-M387, M390, M391 to use the __LINE__ macroErik Schmauss2018-02-163-594/+594
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: change CH04 to emit line numbers instead of indexErik Schmauss2018-02-1690-711/+711
| | | | | | This is done by replacing hardcorded index values with __LINE__ macro Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: change formatting of ERR to emit decimal line numbersErik Schmauss2018-02-141-5/+2
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: adding macros to ERR functionsErik Schmauss2018-02-14266-3809/+3809
| | | | | | | | | | 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>
* Integrate package handling with module-level codeRobert Moore2018-02-071-1/+1
| | | | | | | This change completes the integration of the recent changes to package object handling with the module-level code support. For AcpiExec, the -ep flag is removed.
* ASLTS: Remove octal constants from common scriptRobert Moore2018-01-181-1/+1
| | | | | Some versions of bash, etc. will type a local variable as an octal if initialization values are specified in octal.
* ASLTS: replace TS with __METHOD__ to improve styleErik Schmauss2018-01-04125-5645/+5285
| | | | | | 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-041272-1274/+1274
| | | | All ASL code in the test suite.
* ASLTS: Automated cleanup, no functional changesRobert Moore2018-01-04510-36755/+36239
| | | | Mostly trailing spaces and extra lines at EOF.
* ASLTS: converting files to ASL plus with converterErik Schmauss2017-11-10734-494758/+573753
| | | | | | | 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>