diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index e06eaecd1c..8e7442352e 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;