CMake/Tests/CTestTestTimeout/timeout.cmake

7 lines
214 B
CMake
Raw Normal View History

2010-01-29 00:48:20 +03: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.
execute_process(COMMAND ${Timeout} OUTPUT_FILE ${Log})