summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-01-29 17:42:33 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-01-29 17:42:33 (GMT)
commit098c1dcdfed6ed6d607a51b2e01f513bb4179a7a (patch)
tree2dce021c88781a509392c7fd6589974fa7df56da /Source/cmCTest.cxx
parent2b54ecd1e49b2f7d0698111712091dfe33bc27fb (diff)
downloadCMake-098c1dcdfed6ed6d607a51b2e01f513bb4179a7a.zip
CMake-098c1dcdfed6ed6d607a51b2e01f513bb4179a7a.tar.gz
CMake-098c1dcdfed6ed6d607a51b2e01f513bb4179a7a.tar.bz2
BUG: fix in the timeout code
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index e06eaec..8e74423 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1136,8 +1136,6 @@ int cmCTest::RunTest(std::vector<const char*> argv,
{
timeout = this->TimeOut;
}
- cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "-- timeout set to "
- << testTimeOut << std::endl);
if (testTimeOut && testTimeOut < timeout)
{
timeout = testTimeOut;
@@ -1148,7 +1146,7 @@ int cmCTest::RunTest(std::vector<const char*> argv,
timeout = 1;
}
- cmsysProcess_SetTimeout(cp, this->TimeOut);
+ cmsysProcess_SetTimeout(cp, timeout);
cmsysProcess_Execute(cp);
char* data;