summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.cmake
blob: 0989b65df04fa6c96caf1e79d16914868481ae3b (plain)
1
2
3
4
5
6
# 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 ${Sleep} ERROR_FILE ${Log})