From 1ea46f6afef4c7db32a07b9c539dfa42dce99857 Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 15 Jan 2017 22:26:09 +0100 Subject: [PATCH] Actually tell the user which tests failed. --- first/testsummary.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/first/testsummary.sh b/first/testsummary.sh index 6c2d3e39a..9ab5daa2f 100755 --- a/first/testsummary.sh +++ b/first/testsummary.sh @@ -26,6 +26,13 @@ echo "$(echo "$timedout" | wc -w) timed out" echo "$(echo "$failed" | wc -w) failed" echo "" +if [ "$failed" != "" ]; then + echo "Failing test logs:" + for t in $failed; do + echo $t + done + exit 1 +fi if [ "$failed" != "" -o "$timedout" != "" ]; then echo "Test status: SAD FACE (tests are failing)" exit 1