From fc4cfdf9133e2f374ab3cbf343d7a5a8591d4686 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 31 Jul 2015 07:02:20 -0500 Subject: [PATCH] If a test fails, also reports the error code. --- cmake/scripts/run_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/scripts/run_test.sh b/cmake/scripts/run_test.sh index 935204329d..d69b76f7d0 100644 --- a/cmake/scripts/run_test.sh +++ b/cmake/scripts/run_test.sh @@ -49,6 +49,7 @@ run(){ if [ $RETURN_VALUE -ne 0 ]; then mv output failing_output echo "${TEST_FULL}: BUILD successful." + echo "${TEST_FULL}: RUN failed. ------ Return code $RETURN_VALUE" echo "${TEST_FULL}: RUN failed. ------ Result: `pwd`/failing_output" echo "${TEST_FULL}: RUN failed. ------ Partial output:" cat failing_output -- 2.39.5