travis: Automatically recheck failed tests.
authorBen Pfaff <blp@ovn.org>
Tue, 9 Feb 2016 19:44:40 +0000 (11:44 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 24 Feb 2016 23:46:09 +0000 (15:46 -0800)
This should make the automatic testsuite more reliable on Travis.  It's
better to fix tests to be more reliable, of course, but in practie it's
difficult to make all of them 100% reliable.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
.travis/build.sh

index 4df618b..ef712d0 100755 (executable)
@@ -99,7 +99,7 @@ else
 fi
 
 if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then
-    if ! make distcheck; then
+    if ! make distcheck RECHECK=yes; then
         # testsuite.log is necessary for debugging.
         cat */_build/tests/testsuite.log
         exit 1