diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2019-08-26 10:40:58 -0700 |
---|---|---|
committer | Erik Schmauss <erik.schmauss@intel.com> | 2019-08-27 10:25:29 -0700 |
commit | 69b6a3c50e03fbac81103b7ed47892545d264e8c (patch) | |
tree | 3efaf37d30900345720d2666119213fbd6d105f9 /tests | |
parent | 3f3656c6005f3feff849851e6d775d48055b7426 (diff) | |
download | acpica-69b6a3c50e03fbac81103b7ed47892545d264e8c.tar.gz |
ASLTS: add option to only execute data table compiler tests
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/aslts.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/aslts.sh b/tests/aslts.sh index 5849c7f4a..0e6071cf3 100755 --- a/tests/aslts.sh +++ b/tests/aslts.sh @@ -13,6 +13,7 @@ TEST_CASES= TEST_MODES= REBUILD_TOOLS=yes BINCOMPONLY=no +DATATABLEONLY=no EXECONLY=no usage() { @@ -25,6 +26,7 @@ usage() { echo " -u: Do not force rebuilding of ACPICA utilities (acpiexec, iasl)" echo " -e: Perform the execution of aml files and omit binary comparison of regular aml and disassembled aml file." echo " -b: Only perform binary comparison of regular aml and disasssembled aml file" + echo " -d: Only execute data table compiler/disassembler test" echo "" echo "Available test modes:" @@ -151,6 +153,10 @@ run_aslts() { run_compiler_template_test + if [ "x$DATATABLEONLY" = "xyes" ]; then + return 0 + fi; + if [ "x$TEST_MODES" = "x" ]; then TEST_MODES="n32 n64 o32 o64" fi @@ -189,7 +195,7 @@ RESET_SETTINGS INIT_ALL_AVAILABLE_CASES INIT_ALL_AVAILABLE_MODES -while getopts "c:m:ueb" opt +while getopts "c:m:uebd" opt do case $opt in b) @@ -205,6 +211,10 @@ do TEST_CASES="$OPTARG $TEST_CASES" fi ;; + d) + DATATABLEONLY=yes + echo "Running only data table test" + ;; e) EXECONLY=yes echo "Running tests without binary comparisons" |