summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-21 15:07:00 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-21 15:07:00 (GMT)
commitd1ad16f4384d7719d29b6aeb20230916556660a6 (patch)
treea4d86d854b5312dad8212ec4b3003747c58cff99 /Source/cmCTest.cxx
parent91f68fc391d374181500d213f320e9049267016a (diff)
downloadCMake-d1ad16f4384d7719d29b6aeb20230916556660a6.zip
CMake-d1ad16f4384d7719d29b6aeb20230916556660a6.tar.gz
CMake-d1ad16f4384d7719d29b6aeb20230916556660a6.tar.bz2
BUG: Do not require a nightly start time for an experimental or continuous test model.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 6c1d3bd..75c2fa7 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -318,7 +318,8 @@ int cmCTest::Initialize(const char* binary_dir, bool new_tag,
<< " Build name: " << this->GetCTestConfiguration("BuildName")
<< std::endl);
cmCTestLog(this, DEBUG, "Produce XML is on" << std::endl);
- if ( this->GetCTestConfiguration("NightlyStartTime").empty() )
+ if ( this->TestModel == cmCTest::NIGHTLY &&
+ this->GetCTestConfiguration("NightlyStartTime").empty() )
{
cmCTestLog(this, WARNING,
"WARNING: No nightly start time found please set in"