cmake/Tests/CTestTestTimeout/timeout.cmake

7 lines
211 B
CMake
Raw Normal View History

2010-03-17 14:00:29 +02:00
# Remove the log file.
file(REMOVE ${Log})
# Run a child that sleeps longer than the timout of this test.
# 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})