diff options
author | Ben Pfaff <blp@nicira.com> | 2014-09-19 11:11:58 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-09-19 13:57:22 -0700 |
commit | aeef71935fa74f3e9096dcc5e2154475f1bbc81f (patch) | |
tree | ecc07b5c81b81d689e84ea146836a3c211dd2fb5 | |
parent | 91968eb09670ece332eee88915f401fdc2450a8a (diff) | |
download | openvswitch-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.sh | 8 |
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 |