summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.cmake
blob: ba2f58b7d175492efede824ef32117f4080b786e (plain)
1
2
3
4
5
6
# 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})