summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2015-09-18 14:10:38 -0700
committerRobert Moore <Robert.Moore@intel.com>2015-09-18 14:10:38 -0700
commitce260fcd30f0a36c9ac95323b035bd4a1edde758 (patch)
tree515c40b0a308c06862ed731ef6c3f6a6e988a6e2 /tests
parentbed456ed2976bdaafdef406b982fdf6c539befc0 (diff)
downloadacpica-ce260fcd30f0a36c9ac95323b035bd4a1edde758.tar.gz
Test suite: Update makefile to test all iASL output files
Generate all of the possible output files (listings, etc.) in order to sanity check that the features seem to be working properly. These files are immediately deleted.
Diffstat (limited to 'tests')
-rw-r--r--tests/aslts/Makefile.def12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/aslts/Makefile.def b/tests/aslts/Makefile.def
index 75f6bd663..e25e00988 100644
--- a/tests/aslts/Makefile.def
+++ b/tests/aslts/Makefile.def
@@ -25,7 +25,7 @@
SETOF_INDEXES= 0 1 2 3
SETOF_AMLDIRS= nopt/32 nopt/64 opt/32 opt/64
SETOF_ASLFAGS= "-oa -r 1" "-oa -r 2" "-r 1" "-r 2"
-COMMON_ASL_FLAGS= "-cr -vs"
+COMMON_ASL_FLAGS= "-cr -vs -l -sc -sa -ic -ta -ts -so -lm -ln -ls -li"
COMPILER_LOG="$(TOP)/tmp/aml/$(aslversion)/compile.txt"
COMPILER_ERROR_LOG="$(TOP)/tmp/aml/$(aslversion)/error.txt"
@@ -72,6 +72,16 @@ install_all_modes_of_test_case: ${SETOF_AMLDIRS:%=$(TOP)/tmp/aml/$(aslversion)/%
"$(ASL)" $$CUR_ASLFLAGS "$(COMMON_ASL_FLAGS)" $(ADD_ASLFLAGS) $$j.asl >> $(COMPILER_LOG) 2>> $(COMPILER_ERROR_LOG); \
ret=$$?; \
echo "" >> $(COMPILER_LOG); \
+ rm $$j.asm; \
+ rm $$j.c; \
+ rm $$j.h; \
+ rm $$j.i; \
+ rm $$j.hex; \
+ rm $$j.lst; \
+ rm $$j.map; \
+ rm $$j.nsp; \
+ rm $$j.offset.h; \
+ rm $$j.src; \
if [ $$ret != 0 ]; then \
rval=1; \
>&2 echo "**** Unexpected iASL failure in $$dd/$$j.asl!"; \