summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-01-15 18:24:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-01-15 18:24:54 (GMT)
commit40366f6ced5619ab86f97dba9eb66dbfb2d08149 (patch)
tree4709f0ed53b7185ec2f06f5940a29ee6e0c40ee1 /Source
parentbe52e3b6fc698101d6371b815017a71fad57eb68 (diff)
downloadCMake-40366f6ced5619ab86f97dba9eb66dbfb2d08149.zip
CMake-40366f6ced5619ab86f97dba9eb66dbfb2d08149.tar.gz
CMake-40366f6ced5619ab86f97dba9eb66dbfb2d08149.tar.bz2
ENH: fix part submission to not have memory of the last part submission
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx1
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx10
2 files changed, 6 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index 4e7dd56..0196c89 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 536efcc..ff0d9b7 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 = "";