This is a temporary workaround for some of the ASLTS tests failing to compile due to acpica commit 73ddb40da6c4afdfe587 as described in... https://bugs.acpica.org/show_bug.cgi?id=1112 With regard to stdout and stderr, upstream wants to hide all errors reported by the iASL compiler when the tests are compiled. And instead indicate their occurrance through the errors encountered when the tests are run. The iASL errors are written to tests/aslts/tmp/aml/-/error.txt. But that only works if one is running interactively and can access the tmp directory. So this patch writes to stderr the iASL compiler error info that could normally be found in compile.txt (also located in the tmp directory). It is not the detailed error info, but it shows the number of errors encountered for the named test. diff --git a/tests/aslts/Makefile.def b/tests/aslts/Makefile.def --- a/tests/aslts/Makefile.def +++ b/tests/aslts/Makefile.def @@ -72,7 +72,14 @@ "$(ASL)" $$CUR_ASLFLAGS "$(COMMON_ASL_FLAGS)" $(ADD_ASLFLAGS) $$j.asl >> $(COMPILER_LOG) 2>> $(COMPILER_ERROR_LOG); \ ret=$$?; \ echo "" >> $(COMPILER_LOG); \ - if [ $$ret != 0 ]; then rval=1; echo "**** Unexpected iASL failure!"; exit 1; fi; \ + if [ $$ret != 0 ]; then \ + rval=1; \ + echo "---- Test path: $$dd" >> /dev/stderr; \ + echo "---- Test type: $$CUR_AMLDIR (Flags $(COMMON_ASL_FLAGS) $$CUR_ASLFLAGS $(ADD_ASLFLAGS))" >> /dev/stderr; \ + tail -2 $(COMPILER_LOG) >> /dev/stderr; \ + echo "**** Unexpected iASL failure!" >> /dev/stderr; \ + exit 1; \ + fi; \ done; \ if [ $$ret != 0 ]; then break; fi; \ for j in ${AMLMOD}; do \