BUG: Do not require a nightly start time for an experimental or continuous test model.

This commit is contained in:
Brad King 2007-11-21 10:07:00 -05:00
parent 91f68fc391
commit d1ad16f438
1 changed files with 2 additions and 1 deletions

View File

@ -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"