Debian Codegraph @

tests/aslts/README

raw
1
2 CONTENTS
3
4 ACPICA ASL grammar validation Test Suite (ASLTS)
5
6
7 ASLTS verifies, in "hardware-independent" mode, conformity of ACPICA
8 ASL compiler and interpreter to the ACPI ASL grammar specification. The
9 more common task of ASLTS is to check, in "hardware-independent" mode also,
10 all the functionality of ACPICA which can be initiated and then verified
11 from inside the test modules coded in ASL. The first local task is performed
12 by the test collection named 'functional', to achieve the second one the tests
13 of other collections are intended: complex, exceptions, etc. The conditional
14 difference between the tests of 'functional' and 'complex' collections is that
15 the tests of 'functional' collection checks specific functionality of the
16 particular ASL operator while the tests of 'complex' collection verify the
17 more common functionality.
18
19 The testing is performed in "hardware-independent" mode without any
20 access to ACPI subsystem hardware. In this purpose the AcpiExec utility
21 is used which includes the entire ACPICA subsystem and allows to execute
22 the AML code and thus verify functionality of ACPICA subsystem. Please keep
23 in mind that AcpiExec needs to be build with ACPI_CONTINUE_ON_FATAL being
24 defined in order to run tests dealing with the Fatal() operator.
25
26 The ASL source code is compiled to AML code and then passed to
27 AcpiExec utility. In this relation one more type tests are provided,
28 so called ASL-compilation control test collection, which check ability
29 of ASL compiler to reveal and report incorrect ASL code.
30
31 The tests of the exceptional conditions test collection
32 initiate and verify exceptional conditions, check that the
33 exceptions occur (or not occur) in the expected specified way.
34
35 The testing is provided in both 32-bit and 64-bit modes
36 (option -r of ASL compiler) as well both normal and slack
37 modes (option -s of AcpiExec).
38
39
40 tmp
41
42 directory is automatically created (if doesn't exist) while installing
43 or running the tests performed by the utility Do
44
45 tmp/aml
46
47 directory is automatically created (if doesn't exist) while installing
48 the tests performed by the utility Do and contains 32-bit and 64-bit
49 AML codes of the tests
50
51 tmp/RESULTS
52
53 directory is automatically created during the test execution
54 (if doesn't exist) initiated by the Do utility and contains results
55 (so called multi-results) of runs of tests - utility Do performs each
56 run of tests is several modes:
57 32-bit norm mode
58 64-bit norm mode
59 32-bit slack mode
60 32-bit slack mode
61 so the result of run of tests is called multi-result. It is located
62 into RESULTS/<date.time.revision> directory.
63
64 bin
65
66 utilities to manager the tests
67
68 src
69
70 source code of tests
71
72 TESTS
73
74 per-collection list of run-time tests
75
76 HOW_TO_INSTALL
77
78 actions needed to prepare the tests for running
79
80 HOW_TO_USE
81
82 how to run the tests and explain the result of run
83
84 Makefile.def
85
86 the common use targets and rules
87
88 Makefile.switch
89
90 the uniform targets and rules to pass commands of make utility
91 to the specified enclosed directories
92
93 Makefile
94
95 current directory targets and rules
96
97
98 THE UNIFORM STRUCTURE OF ASLTS SOURCE CODE
99
100 The ASLTS source code contains files of the same name
101 which are of the same functionality described below.
102
103 DECL.asl
104
105 contains all the declarations corresponding to some test
106
107 RUN.asl
108
109 contains all the invocations corresponding to some test
110
111 MAIN.asl
112
113 contains declaration of DefinitionBlock corresponding to some test;
114 the DefinitionBlock contains method MAIN which is a starting method
115 of the test; as a rule, this file contains the relevant DECL.asl and
116 RUN.asl includes
117
118 README
119
120 the brief description of the contents of the inclusive directory
121 (hierarchy of README files explaining the contents of directories)
122
123 FULL
124
125 contains declaration of DefinitionBlock corresponding to some test
126 which is conglomeration of several other tests
127
128 NOTE
129
130 any notes to not forget something to do etc.
131
132 - end