summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* Tests: Try to make CTestTestTimeout more robustBrad King2014-05-231-1/+1
| | | | | | | | Write to the timeout test log file before sleeping and flush to be sure it is created. Move the check that the after-sleep line is not written out to the ctest script. Rename the CheckChild test to TestSleep since it no longer checks. Do not try to read the log file if it does not exist.
* 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.