CMake/Tests/RunCMake/CTestTimeoutAfterMatch/SleepFor1Second.cmake
Zack Galbreath 993e48d045 CTest: Optionally use a secondary test timeout after matching output
Allow a test N seconds to complete after we detect a matching line in
its output.  Activate this behavior with a new TIMEOUT_AFTER_MATCH test
property.
2016-03-22 11:17:55 -04:00

5 lines
260 B
CMake

execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "Gathering required resources")
execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep 2)
execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "Test started")
execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep 1)