travis: Run 'make distcheck' instead of 'make check'
authorThomas Graf <tgraf@noironetworks.com>
Fri, 29 Aug 2014 23:43:03 +0000 (01:43 +0200)
committerBen Pfaff <blp@nicira.com>
Sat, 30 Aug 2014 16:24:17 +0000 (09:24 -0700)
make distcheck runs a superset of make check and will additionally
catch failures in adding new files to the Makefile. It will also test
installation and uninstallation of the package.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
.travis/build.sh

index a9e5658..56623ea 100755 (executable)
@@ -46,7 +46,7 @@ if [ $CC = "clang" ]; then
     make CFLAGS="-Werror -Wno-error=unused-command-line-argument"
 else
     make CFLAGS="-Werror" C=1
-    [ "$TESTSUITE" ] && make check
+    [ "$TESTSUITE" ] && make distcheck
 fi
 
 exit 0