summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Test process tree kill on timeoutBrad King2009-11-301-0/+6
We extend the CTestTestTimeout test to check that when a test times out its children (grandchildren of ctest) are killed. Instead of running the timeout executable directly, we run it through a cmake script that redirects the timeout executable output to a file. A second test later runs and verifies that the timeout executable was unable to complete and write data to the log file. Only if the first inner test times out and the second inner test passes (log is empty) does the CTestTestTimeout test pass.