From: Wolfgang Bangerth Date: Fri, 31 Jul 2015 12:02:20 +0000 (-0500) Subject: If a test fails, also reports the error code. X-Git-Tag: v8.4.0-rc2~695^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1228%2Fhead;p=dealii.git If a test fails, also reports the error code. --- 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