Skip to content

Commit

Permalink
travis: Allow testsuite to run with GCC or Clang.
Browse files Browse the repository at this point in the history
I don't see why the testsuite is supported only with GCC.

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

if [ $TESTSUITE ]; then
if ! make distcheck; then
# testsuite.log is necessary for debugging.
cat */_build/tests/testsuite.log
exit 1
fi
fi

Expand Down

0 comments on commit 95c9bfd

Please sign in to comment.