mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
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:
1 parent
2e47dee60a
commit
614921b4c9
1 file changed
+6
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user