diff options
author | Brad King <brad.king@kitware.com> | 2009-02-02 18:24:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-02 18:24:26 (GMT) |
commit | cc2092d5bb282dd4010b11a289638a243f7961e2 (patch) | |
tree | 33ce2e212a858631d55e87a68dd3b99d1cab99db /Source/CTest/cmCTestTestHandler.h | |
parent | eea054d82c13430bff4eba800f02a73396b73af2 (diff) | |
download | CMake-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.h | 3 |
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); |