Selaa lähdekoodia

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

Brad King 18 vuotta sitten
vanhempi
sitoutus
d1ad16f438
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      Source/cmCTest.cxx

+ 2 - 1
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"