travis: Automatically recheck failed tests.
[cascardo/ovs.git] / .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