diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2011-01-03 19:41:25 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2011-01-03 19:41:25 (GMT) |
commit | 51bb49357495ea2742858ffe9d76ab3f44efc06e (patch) | |
tree | f72a5b8ce58fc95f46d2b477196ded88e642cda8 /Source/CTest/cmCTestTestHandler.cxx | |
parent | edff9207ed82d241077d66b20087657f74e8b5b9 (diff) | |
download | CMake-51bb49357495ea2742858ffe9d76ab3f44efc06e.zip CMake-51bb49357495ea2742858ffe9d76ab3f44efc06e.tar.gz CMake-51bb49357495ea2742858ffe9d76ab3f44efc06e.tar.bz2 |
Test TIMEOUT property explicitly set to zero should be honored
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 6d1af2d..fdafb9b 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -2122,6 +2122,7 @@ bool cmCTestTestHandler::SetTestsProperties( if ( key == "TIMEOUT" ) { rtit->Timeout = atof(val.c_str()); + rtit->ExplicitTimeout = true; } if ( key == "COST" ) { @@ -2295,6 +2296,7 @@ bool cmCTestTestHandler::AddTest(const std::vector<std::string>& args) test.WillFail = false; test.RunSerial = false; test.Timeout = 0; + test.ExplicitTimeout = false; test.Cost = 0; test.Processors = 1; test.PreviousRuns = 0; |