summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.cmake
blob: 198cc9713bde65999f1c1f689fadaed415bab079 (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 ${Timeout} OUTPUT_FILE ${Log})