cmake/Tests/CTestTestTimeout/timeout.cmake
2018-04-23 21:13:27 +02:00

7 lines
212 B
CMake

# Remove the log file.
file(REMOVE ${Log})
# Run a child that sleeps longer than the timeout of this test.
# Log its output so check.cmake can verify it dies.
execute_process(COMMAND ${Sleep} ERROR_FILE ${Log})