Blame aslts-always-reports.patch
|
Al Stone |
1c109d |
From Dean Nelson <dnelson@redhat.com>
|
|
Al Stone |
1c109d |
|
|
Al Stone |
1c109d |
Ensure that any errors found by iasl are actually reported by the
|
|
Al Stone |
1c109d |
ASLTS. In the past, some were not and therefore just glossed over.
|
|
Al Stone |
1c109d |
|
|
Al Stone |
1c109d |
diff --git a/tests/aslts/Makefile.def b/tests/aslts/Makefile.def
|
|
Al Stone |
1c109d |
--- a/tests/aslts/Makefile.def
|
|
Al Stone |
1c109d |
+++ b/tests/aslts/Makefile.def
|
|
Al Stone |
1c109d |
@@ -72,7 +72,14 @@
|
|
Al Stone |
1c109d |
"$(ASL)" $$CUR_ASLFLAGS "$(COMMON_ASL_FLAGS)" $(ADD_ASLFLAGS) $$j.asl >> $(COMPILER_LOG) 2>> $(COMPILER_ERROR_LOG); \
|
|
Al Stone |
1c109d |
ret=$$?; \
|
|
Al Stone |
1c109d |
echo "" >> $(COMPILER_LOG); \
|
|
Al Stone |
1c109d |
- if [ $$ret != 0 ]; then rval=1; echo "**** Unexpected iASL failure!"; exit 1; fi; \
|
|
Al Stone |
1c109d |
+ if [ $$ret != 0 ]; then \
|
|
Al Stone |
1c109d |
+ rval=1; \
|
|
Al Stone |
1c109d |
+ echo "---- Test path: $$dd" >> /dev/stderr; \
|
|
Al Stone |
1c109d |
+ echo "---- Test type: $$CUR_AMLDIR (Flags $(COMMON_ASL_FLAGS) $$CUR_ASLFLAGS $(ADD_ASLFLAGS))" >> /dev/stderr; \
|
|
Al Stone |
1c109d |
+ tail -2 $(COMPILER_LOG) >> /dev/stderr; \
|
|
Al Stone |
1c109d |
+ echo "**** Unexpected iASL failure!" >> /dev/stderr; \
|
|
Al Stone |
1c109d |
+ exit 1; \
|
|
Al Stone |
1c109d |
+ fi; \
|
|
Al Stone |
1c109d |
done; \
|
|
Al Stone |
1c109d |
if [ $$ret != 0 ]; then break; fi; \
|
|
Al Stone |
1c109d |
for j in ${AMLMOD}; do \
|