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

This commit is contained in:
Bill Hoffman 2009-01-15 13:24:54 -05:00
parent be52e3b6fc
commit 40366f6ced
2 changed files with 6 additions and 5 deletions

View File

@ -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();

View File

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