]> https://gitweb.dealii.org/ - dealii.git/commitdiff
If a test fails, also reports the error code. 1228/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 31 Jul 2015 12:02:20 +0000 (07:02 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 31 Jul 2015 12:02:20 +0000 (07:02 -0500)
cmake/scripts/run_test.sh

index 935204329db8cd23f15be8d53616927110af852b..d69b76f7d0eda132f375f2acf4b49158cae1c07d 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.