Skip to content

Commit

Permalink
Actually tell the user which tests failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Jan 15, 2017
1 parent fd83b09 commit 1ea46f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions first/testsummary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ea46f6

Please sign in to comment.