summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling errorsElyes Haouas2022-09-287-7/+7
| | | | Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
* Fix spelling errorsElyes HAOUAS2021-10-022-11/+11
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* Tree-wide: fix various typos and spelling mistakesColin Ian King2021-02-034-5/+5
| | | | | | Fix more spelling issues found using the codespell checker Signed-off-by: Colin Ian King <colin.king@canonical.com>
* 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>
* tests/aslts.sh: Remove unnecessary tabs at end of lineElyes HAOUAS2020-09-231-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-115-9/+9
| | | | Submitted by: ehaouas@noos.fr
* Remove some extra blank linesRobert Moore2020-01-224-4/+0
| | | | Mostly in generate and tests.
* ASLTS: Update all copyrights to 2020Robert Moore2020-01-091274-1276/+1276
| | | | 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>
* badcode.asl: Update the compile-time statisticsRobert Moore2019-11-141-1/+1
| | | | Output from iASL.
* ASLTS: Remove trailing spacesRobert Moore2019-11-078-17/+17
| | | | | In the .asl files From: ehaouas@noos.fr
* ASLTS: add option to only execute data table compiler testsErik Schmauss2019-08-271-1/+11
| | | | Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: fix reference to ACPICA toolsErik Schmauss2019-08-232-6/+6
| | | | | | | | In ASLTS script code, the ACPICA tools must be referenced through variables that have been exported. If not, ASLTS uses ACPICA tools in the existing path. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* ASLTS: add iASL template test suiteErik Schmauss2019-08-142-2/+54
| | | | | | | | | | | | | | | | For each template supported by iASL, this test suite does the following: 1) Compile with iASL 2) Disassemble .aml file generated from 1) 3) Re-compile .dsl file generated from 2) 4) Use acpibin to compare files generated from 1) and 3) using acpibin This test exercises the data table compiler as well as the data table disassembler. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
* 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-1473-164/+164
| | | | 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-081274-1276/+1276
| | | | 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>
* Merge pull request #409 from SchmErik/aslts_dev08Robert Moore2018-09-261-2/+4
|\ | | | | ASLTS: improve speed of building ACPICA tools by adding -j flag to make command
| * ASLTS: improve speed of building ACPICA tools by adding -j flag to make commandErik Schmauss2018-08-161-2/+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>