From 40366f6ced5619ab86f97dba9eb66dbfb2d08149 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 15 Jan 2009 13:24:54 -0500 Subject: [PATCH] ENH: fix part submission to not have memory of the last part submission --- Source/CTest/cmCTestGenericHandler.cxx | 1 + Source/CTest/cmCTestSubmitHandler.cxx | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index 4e7dd5698..0196c899b 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/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(); diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index 536efcc34..ff0d9b72f 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/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 = "";