mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 01:55:03 +00:00
COMP: Remove warning and fix the logic
This commit is contained in:
parent
81211fc427
commit
0af5ef0e99
@ -38,8 +38,11 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler()
|
||||
}
|
||||
else
|
||||
{
|
||||
// By default use timeout of 10 minutes
|
||||
timeout = 600;
|
||||
if ( timeout <= 0 )
|
||||
{
|
||||
// By default use timeout of 10 minutes
|
||||
timeout = 600;
|
||||
}
|
||||
}
|
||||
m_CTest->SetTimeOut(timeout);
|
||||
cmCTestGenericHandler* handler = m_CTest->GetInitializedHandler("test");
|
||||
|
Loading…
x
Reference in New Issue
Block a user