summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGenericHandler.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-12 14:11:29 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-12 14:11:29 (GMT)
commitcccac773cea0d724474a441a2e205cdb2d7193de (patch)
tree7c9e24087bf1fa8de084a6b7d9fd729829eb51ce /Source/CTest/cmCTestGenericHandler.h
parentae2c4143d288624b6703085602ecee2289b3ee27 (diff)
downloadCMake-cccac773cea0d724474a441a2e205cdb2d7193de.zip
CMake-cccac773cea0d724474a441a2e205cdb2d7193de.tar.gz
CMake-cccac773cea0d724474a441a2e205cdb2d7193de.tar.bz2
ENH: Teach ctest_* to create appending XML files
This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file.
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r--Source/CTest/cmCTestGenericHandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h
index 2b84ded..69bfb7f 100644
--- a/Source/CTest/cmCTestGenericHandler.h
+++ b/Source/CTest/cmCTestGenericHandler.h
@@ -88,10 +88,13 @@ public:
void SetSubmitIndex(int idx) { this->SubmitIndex = idx; }
int GetSubmitIndex() { return this->SubmitIndex; }
+ void SetAppendXML(bool b) { this->AppendXML = b; }
+
protected:
bool StartResultingXML(const char* name, cmGeneratedFileStream& xofs);
bool StartLogFile(const char* name, cmGeneratedFileStream& xofs);
+ bool AppendXML;
bool HandlerVerbose;
cmCTest *CTest;
t_StringToString Options;