summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2015-05-23 23:00:12 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-26 14:40:00 (GMT)
commitb26e5b552a53521ba06d27835cac2a6f72d70dfc (patch)
tree0de35df30a489e4475b907f1d493e0f0607afcf7 /Source/CTest/cmCTestTestHandler.h
parent965cf8e66e8316f34113c219d9311edee34bfd3b (diff)
downloadCMake-b26e5b552a53521ba06d27835cac2a6f72d70dfc.zip
CMake-b26e5b552a53521ba06d27835cac2a6f72d70dfc.tar.gz
CMake-b26e5b552a53521ba06d27835cac2a6f72d70dfc.tar.bz2
CTest: Generate NamedMeasurement elements directly into xml file
Re-order the logic to avoid use of a temporary std::ostringstream.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index fe43bb8..623c996 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -128,7 +128,7 @@ public:
bool CompressOutput;
std::string CompletionStatus;
std::string Output;
- std::string RegressionImages;
+ std::string DartString;
int TestCount;
cmCTestTestProperties* Properties;
};
@@ -270,7 +270,7 @@ private:
cmsys::RegularExpression IncludeTestsRegularExpression;
cmsys::RegularExpression ExcludeTestsRegularExpression;
- std::string GenerateRegressionImages(const std::string& xml);
+ void GenerateRegressionImages(std::ostream& ostr, const std::string& xml);
cmsys::RegularExpression DartStuff1;
void CheckLabelFilter(cmCTestTestProperties& it);
void CheckLabelFilterExclude(cmCTestTestProperties& it);