summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-12 15:52:32 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-26 19:49:29 (GMT)
commit3da577dec00a4ab9572e37be4ed8be4996ae79b3 (patch)
tree2045f3d1ab31d06645ee7e2865e0e951541a4443 /Source/CTest/cmCTestMemCheckHandler.cxx
parent621c0893b86bdda304424115071f23146836c8a4 (diff)
downloadCMake-3da577dec00a4ab9572e37be4ed8be4996ae79b3.zip
CMake-3da577dec00a4ab9572e37be4ed8be4996ae79b3.tar.gz
CMake-3da577dec00a4ab9572e37be4ed8be4996ae79b3.tar.bz2
CTest: Escape MemCheck test output for XML (#13124)
Any output that goes through CleanTestOutput must be printed through cmXMLSafe.
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index 035aaa9..3e4ecdd 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -358,7 +358,7 @@ void cmCTestMemCheckHandler::GenerateDartOutput(std::ostream& os)
os
<< "\t\t</Results>\n"
- << logTag << memcheckstr << std::endl
+ << logTag << cmXMLSafe(memcheckstr) << std::endl
<< "\t</Log>\n";
this->WriteTestResultFooter(os, result);
if ( current < cc )