Parcourir la source

ENH: fix part submission to not have memory of the last part submission

Bill Hoffman il y a 17 ans
Parent
commit
40366f6ced

+ 1 - 0
Source/CTest/cmCTestGenericHandler.cxx

@@ -81,6 +81,7 @@ void cmCTestGenericHandler::SetPersistentOption(const char* op,
 //----------------------------------------------------------------------
 void cmCTestGenericHandler::Initialize()
 {
+  this->AppendXML = false;
   this->Options.clear();
   t_StringToString::iterator it;
   for ( it = this->PersistentOptions.begin(); 

+ 5 - 5
Source/CTest/cmCTestSubmitHandler.cxx

@@ -70,17 +70,17 @@ cmCTestSubmitHandler::cmCTestSubmitHandler() : HTTPProxy(), FTPProxy()
   this->FTPProxyType = 0;
   this->CDash = false;
 
+}
+
+//----------------------------------------------------------------------------
+void cmCTestSubmitHandler::Initialize()
+{
   // We submit all available parts by default.
   for(cmCTest::Part p = cmCTest::PartStart;
       p != cmCTest::PartCount; p = cmCTest::Part(p+1))
     {
     this->SubmitPart[p] = true;
     }
-}
-
-//----------------------------------------------------------------------------
-void cmCTestSubmitHandler::Initialize()
-{
   this->CDash = false;
   this->Superclass::Initialize();
   this->HTTPProxy = "";