From 3da577dec00a4ab9572e37be4ed8be4996ae79b3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 12 Apr 2012 11:52:32 -0400 Subject: CTest: Escape MemCheck test output for XML (#13124) Any output that goes through CleanTestOutput must be printed through cmXMLSafe. --- Source/CTest/cmCTestMemCheckHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\n" - << logTag << memcheckstr << std::endl + << logTag << cmXMLSafe(memcheckstr) << std::endl << "\t\n"; this->WriteTestResultFooter(os, result); if ( current < cc ) -- cgit v0.12