summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-17 16:14:49 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-17 16:14:49 (GMT)
commitff916b48bda3f7083d7bad8dd23728161d8d820e (patch)
treefad61d451e02634c62bc0ea594de01485e72e5ac /Source/CTest/cmCTestTestHandler.cxx
parent019e6db332701d1aa029febce4b6b92bd6e37e82 (diff)
downloadCMake-ff916b48bda3f7083d7bad8dd23728161d8d820e.zip
CMake-ff916b48bda3f7083d7bad8dd23728161d8d820e.tar.gz
CMake-ff916b48bda3f7083d7bad8dd23728161d8d820e.tar.bz2
CTest output submitted to the dashboard is now compressed by default.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 900165e..8af2815 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -1186,7 +1186,10 @@ void cmCTestTestHandler::GenerateDartOutput(std::ostream& os)
}
os
<< "\t\t\t<Measurement>\n"
- << "\t\t\t\t<Value>";
+ << "\t\t\t\t<Value"
+ << (result->CompressOutput ?
+ " encoding=\"base64\" compression=\"gzip\">"
+ : ">");
os << cmXMLSafe(result->Output);
os
<< "</Value>\n"