summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-02 18:24:26 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-02 18:24:26 (GMT)
commitcc2092d5bb282dd4010b11a289638a243f7961e2 (patch)
tree33ce2e212a858631d55e87a68dd3b99d1cab99db /Source/CTest/cmCTestTestHandler.h
parenteea054d82c13430bff4eba800f02a73396b73af2 (diff)
downloadCMake-cc2092d5bb282dd4010b11a289638a243f7961e2.zip
CMake-cc2092d5bb282dd4010b11a289638a243f7961e2.tar.gz
CMake-cc2092d5bb282dd4010b11a289638a243f7961e2.tar.bz2
ENH: Put test labels in MemCheck results
This refactors generation of <Test> element headers and footers in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change removes duplicate code and enables the new <Labels> element for MemCheck results.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index a95ae0e..6e90a66 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -134,6 +134,9 @@ protected:
virtual void GenerateTestCommand(std::vector<const char*>& args);
int ExecuteCommands(std::vector<cmStdString>& vec);
+ void WriteTestResultHeader(std::ostream& os, cmCTestTestResult* result);
+ void WriteTestResultFooter(std::ostream& os, cmCTestTestResult* result);
+
//! Clean test output to specified length
bool CleanTestOutput(std::string& output, size_t length);