Skip to content

Commit

Permalink
travis: Include testsuite.log on failure.
Browse files Browse the repository at this point in the history
Acked-by: Thomas Graf <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed Sep 19, 2014
1 parent 91968eb commit aeef719
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ if [ $CC = "clang" ]; then
make CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument"
else
make CFLAGS="$CFLAGS" C=1
[ "$TESTSUITE" ] && make distcheck
if [ $TESTSUITE ]; then
if ! make distcheck; then
# testsuite.log is necessary for debugging.
cat */_build/tests/testsuite.log
exit 1
fi
fi
fi

exit 0

0 comments on commit aeef719

Please sign in to comment.