diff options
author | Brad King <brad.king@kitware.com> | 2009-01-12 15:37:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-01-12 15:37:55 (GMT) |
commit | 447f5b303eab1b076f49ed52af90e554160dddc6 (patch) | |
tree | 6e27fdd66c1b7d39440d94681457c2765a957a99 /Source/CTest/cmCTestGenericHandler.cxx | |
parent | 4b97fab34d07afe05b057dbb6b2c64f4f0d24f40 (diff) | |
download | CMake-447f5b303eab1b076f49ed52af90e554160dddc6.zip CMake-447f5b303eab1b076f49ed52af90e554160dddc6.tar.gz CMake-447f5b303eab1b076f49ed52af90e554160dddc6.tar.bz2 |
ENH: Divide CTest file submission list by part
This splits the list of files for CTest to submit into those belonging
to each part. The set is recombined just before submission. Later this
will allow piecewise submissions.
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index 5060774..4e7dd56 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -104,8 +104,9 @@ const char* cmCTestGenericHandler::GetOption(const char* op) } //---------------------------------------------------------------------- -bool cmCTestGenericHandler::StartResultingXML(const char* name, - cmGeneratedFileStream& xofs) +bool cmCTestGenericHandler::StartResultingXML(cmCTest::Part part, + const char* name, + cmGeneratedFileStream& xofs) { if ( !name ) { @@ -139,7 +140,7 @@ bool cmCTestGenericHandler::StartResultingXML(const char* name, << std::endl); return false; } - this->CTest->AddSubmitFile(ostr.str().c_str()); + this->CTest->AddSubmitFile(part, ostr.str().c_str()); return true; } |