瀏覽代碼

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

Bill Hoffman 17 年之前
父節點
當前提交
40366f6ced
共有 2 個文件被更改,包括 6 次插入5 次删除
  1. 1 0
      Source/CTest/cmCTestGenericHandler.cxx
  2. 5 5
      Source/CTest/cmCTestSubmitHandler.cxx

+ 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 = "";