Tests: Try to make CTestTestTimeout more robust
authorBrad King <brad.king@kitware.com>
Fri, 23 May 2014 13:47:44 +0000 (09:47 -0400)
committerBrad King <brad.king@kitware.com>
Fri, 23 May 2014 14:30:39 +0000 (10:30 -0400)
commit9afcecaf32acb4333b33d46522f98457bfa8856d
treec27da3ad5fcafddaf930e517b05c5c392e1e92af
parent8ae05b420e513252d1fd68dc6085d8dd92f3e624
Tests: Try to make CTestTestTimeout more robust

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.
Tests/CMakeLists.txt
Tests/CTestTestTimeout/CMakeLists.txt
Tests/CTestTestTimeout/check.cmake [deleted file]
Tests/CTestTestTimeout/sleep.c [new file with mode: 0644]
Tests/CTestTestTimeout/test.cmake.in
Tests/CTestTestTimeout/timeout.c [deleted file]
Tests/CTestTestTimeout/timeout.cmake