From 098c1dcdfed6ed6d607a51b2e01f513bb4179a7a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 29 Jan 2007 12:42:33 -0500 Subject: [PATCH] BUG: fix in the timeout code --- Source/cmCTest.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index e06eaecd1..8e7442352 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1136,8 +1136,6 @@ int cmCTest::RunTest(std::vector 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 argv, timeout = 1; } - cmsysProcess_SetTimeout(cp, this->TimeOut); + cmsysProcess_SetTimeout(cp, timeout); cmsysProcess_Execute(cp); char* data;