summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-09-19 11:11:58 -0700
committerBen Pfaff <blp@nicira.com>2014-09-19 13:57:22 -0700
commitaeef71935fa74f3e9096dcc5e2154475f1bbc81f (patch)
treeecc07b5c81b81d689e84ea146836a3c211dd2fb5
parent91968eb09670ece332eee88915f401fdc2450a8a (diff)
downloadopenvswitch-aeef71935fa74f3e9096dcc5e2154475f1bbc81f.tar.gz
travis: Include testsuite.log on failure.
Acked-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
-rwxr-xr-x.travis/build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis/build.sh b/.travis/build.sh
index 0a2396924..db7a3d359 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -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