diff options
Diffstat (limited to 'Tests/CTestTestTimeout/timeout.cmake')
-rw-r--r-- | Tests/CTestTestTimeout/timeout.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestTestTimeout/timeout.cmake b/Tests/CTestTestTimeout/timeout.cmake new file mode 100644 index 0000000..198cc97 --- /dev/null +++ b/Tests/CTestTestTimeout/timeout.cmake @@ -0,0 +1,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}) |