summaryrefslogtreecommitdiff
path: root/Tests/CTestTestParallel
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-02 09:31:49 -0500
committerBrad King <brad.king@kitware.com>2009-12-02 09:31:49 -0500
commitb14734b9b65db0abbc21a3e339a4ce6df77a4f6d (patch)
tree67fa74352b99426593ab464c728d74b8a5c9c382 /Tests/CTestTestParallel
parented55b1b8d217a943a4c5b6d332e32d7d8913a49e (diff)
downloadcmake-b14734b9b65db0abbc21a3e339a4ce6df77a4f6d.tar.gz
Make CTestTestTimeout time configurable
In this test we start up a cmake script that runs a process that sleeps, and the timeout for the script is shorter than the sleep time. However, in order to properly detect that the sleeping grandchild is killed when the script times out we need to give sufficient time for the script to start the grandchild. Otherwise the log file for the grandchild is not available. On some (cygwin) builds our previous 1 second timeout for the script was not long enough to let the interpreter load and start the grandchild. We make the timeout time configurable by setting CTestTestTimeout_TIME in the cache for CMake itself. It tells the test how long to let the script run. The grandchild always sleeps for 4 seconds longer to ensure a comfortable window during which the process tree can be killed.
Diffstat (limited to 'Tests/CTestTestParallel')
0 files changed, 0 insertions, 0 deletions