Timeout set to 300 seconds. If no timeout, then ctest itself will be
timed out and terminated leaving no output.
- cmake --build . --config %CONFIGURATION%
test_script:
- - ctest -C %CONFIGURATION% --output-on-failure
+ - ctest -C %CONFIGURATION% --output-on-failure --timeout 300
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: