diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-01-29 17:42:33 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-01-29 17:42:33 (GMT) |
commit | 098c1dcdfed6ed6d607a51b2e01f513bb4179a7a (patch) | |
tree | 2dce021c88781a509392c7fd6589974fa7df56da /Source/cmCTest.cxx | |
parent | 2b54ecd1e49b2f7d0698111712091dfe33bc27fb (diff) | |
download | CMake-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.cxx | 4 |
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; |