From 66fc10564c8dfb4b50543b62777f5d9c41404c57 Mon Sep 17 00:00:00 2001 From: Andrey Tuganov Date: Tue, 30 May 2017 13:29:13 -0400 Subject: [PATCH] Bots print output from timed out tests Timeout set to 300 seconds. If no timeout, then ctest itself will be timed out and terminated leaving no output. --- .appveyor.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b8a5eaa..4edce4e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 913d851..848ee47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: -- 2.7.4