Commit 0af5ef0e authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Remove warning and fix the logic

parent 81211fc4
......@@ -37,10 +37,13 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler()
timeout = atof(ctestTimeout);
}
else
{
if ( timeout <= 0 )
{
// By default use timeout of 10 minutes
timeout = 600;
}
}
m_CTest->SetTimeOut(timeout);
cmCTestGenericHandler* handler = m_CTest->GetInitializedHandler("test");
if ( m_Values[ctt_START] || m_Values[ctt_END] || m_Values[ctt_STRIDE] )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment