cmake/Tests/CTestTestTimeout/timeout.cmake

7 lines
212 B
CMake
Raw Normal View History

2010-03-17 14:00:29 +02:00
# Remove the log file.
file(REMOVE ${Log})
2018-04-23 21:13:27 +02:00
# Run a child that sleeps longer than the timeout of this test.
2010-03-17 14:00:29 +02:00
# Log its output so check.cmake can verify it dies.
2015-04-27 22:25:09 +02:00
execute_process(COMMAND ${Sleep} ERROR_FILE ${Log})