Bots print output from timed out tests
authorAndrey Tuganov <andreyt@google.com>
Tue, 30 May 2017 17:29:13 +0000 (13:29 -0400)
committerAndrey Tuganov <andreyt@google.com>
Wed, 31 May 2017 14:34:54 +0000 (10:34 -0400)
Timeout set to 300 seconds. If no timeout, then ctest itself will be
timed out and terminated leaving no output.

.appveyor.yml
.travis.yml

index b8a5eaa..4edce4e 100644 (file)
@@ -39,4 +39,4 @@ build_script:
   - cmake --build . --config %CONFIGURATION%
 
 test_script:
-  - ctest -C %CONFIGURATION% --output-on-failure
+  - ctest -C %CONFIGURATION% --output-on-failure --timeout 300
index 913d851..848ee47 100644 (file)
@@ -76,7 +76,7 @@ script:
     else
       export NPROC=`sysctl -n hw.ncpu`;
     fi
-  - if [[ "$BUILD_NDK" != "ON" ]]; then ctest -j${NPROC} --output-on-failure; fi
+  - if [[ "$BUILD_NDK" != "ON" ]]; then ctest -j${NPROC} --output-on-failure --timeout 300; fi
 
 
 notifications: