diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2017-07-18 16:18:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2017-07-18 16:18:11 (GMT) |
commit | 614921b4c916038fcb7bc8c899a7d1d8b772b143 (patch) | |
tree | c6f1e6434d2132e47c11a2ad335ba5d9086d52a2 | |
parent | 2e47dee60a6c0bbc1eb08e9727c4c1d83dc02a3d (diff) | |
download | CMake-614921b4c916038fcb7bc8c899a7d1d8b772b143.zip CMake-614921b4c916038fcb7bc8c899a7d1d8b772b143.tar.gz CMake-614921b4c916038fcb7bc8c899a7d1d8b772b143.tar.bz2 |
Add the test property PROCESSORS to the CDash xml as a NamedMeasurement.
This commit forwards the test property PROCESSORS to CDash in the xml
produced by ctest. This is to allow CDash to know how much processor
time was allocated to a test.
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 8797204..ef0fac8 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1441,6 +1441,12 @@ void cmCTestTestHandler::GenerateDartOutput(cmXMLWriter& xml) } xml.StartElement("NamedMeasurement"); + xml.Attribute("type", "numeric/double"); + xml.Attribute("name", "Processors"); + xml.Element("Value", result->Properties->Processors); + xml.EndElement(); // NamedMeasurement + + xml.StartElement("NamedMeasurement"); xml.Attribute("type", "text/string"); xml.Attribute("name", "Completion Status"); xml.Element("Value", result->CompletionStatus); |