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.
This commit is contained in:
Bill Hoffman
2017-07-18 12:18:11 -04:00
parent 2e47dee60a
commit 614921b4c9

View File

@@ -1440,6 +1440,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");