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.
This commit is contained in:
Andrey Tuganov 2017-05-30 13:29:13 -04:00
parent e7aff807a0
commit 66fc10564c
2 changed files with 2 additions and 2 deletions

View 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

View 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: