| 1 |
|
| 2 |
How to install the AML tests |
| 3 |
---------------------------- |
| 4 |
|
| 5 |
|
| 6 |
There are two ways to install the AML tests in a Unix-like environment: |
| 7 |
|
| 8 |
1. > cd aslts |
| 9 |
> make install |
| 10 |
|
| 11 |
2. > aslts/bin/Do 0 aslts |
| 12 |
|
| 13 |
where 'aslts' is the root directory of the test suite. The base name must |
| 14 |
be exactly 'aslts'. |
| 15 |
|
| 16 |
The generated tests will be located in the aslts/tmp/aml parent directory |
| 17 |
which is created automatically by make-install. |
| 18 |
|
| 19 |
The actual AML code of the individual ASL tests are placed in the following |
| 20 |
subdirectories: |
| 21 |
|
| 22 |
With compiler optimization: |
| 23 |
|
| 24 |
aslts/tmp/aml/opt/32 |
| 25 |
aslts/tmp/aml/opt/64 |
| 26 |
|
| 27 |
Without compiler optimization: |
| 28 |
|
| 29 |
aslts/tmp/aml/nopt/32 |
| 30 |
aslts/tmp/aml/nopt/64 |
| 31 |
|
| 32 |
If the directories aslts/tmp/aml/* do not exist they are automatically |
| 33 |
created. |
| 34 |
|
| 35 |
|
| 36 |
SEE ALSO |
| 37 |
|
| 38 |
aslts/HOW_TO_USE |
| 39 |
Comments on the Do utility in the bin/README file |
| 40 |
|
| 41 |
|
| 42 |
ENVIRONMENT |
| 43 |
|
| 44 |
For test generation, the environment variable 'ASL' should be set to the |
| 45 |
pathname of the iASL compiler. |
| 46 |
|
| 47 |
For example, for cygwin under windows: |
| 48 |
|
| 49 |
> export ASL="c:/acpica/libraries/iasl.exe" |
| 50 |
|
| 51 |
|
| 52 |
For test execution, three additional variables are required: |
| 53 |
|
| 54 |
acpiexec - path to acpiexec utility: (example, needs to be build with ACPI_CONTINUE_ON_FATAL) |
| 55 |
|
| 56 |
> export acpiexec="c:/acpica/libraries/acpiexec.exe" |
| 57 |
|
| 58 |
acpibin - path to acpibin utility: (example) |
| 59 |
|
| 60 |
> export acpibin="c:/acpica/libraries/acpibin.exe" |
| 61 |
|
| 62 |
ASLTSDIR - path to the aslts directory: (example) |
| 63 |
|
| 64 |
> export ASLTSDIR="c:/acpica/tests/aslts" |
| 65 |
|