Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ctest: support <CTestMeasurement> for runtime measurements | Zack Galbreath | 2021-07-01 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | Teach CTest to parse output for <CTestMeasurement> in addition to <DartMeasurement> for measurements defined at runtime. Use a new class (cmCTestTestMeasurementXMLParser) derived from cmXMLParser to parse the data and attributes these XML elements. This is an improvement over our previous approach of using a series of regular expressions. As part of this commit we also rename some member variables and methods to make their purpose more clear. DartStuff -> AllTestMeasurementsRegex DartStuff1 -> SingleTestMeasurementRegex DartString -> TestMeasurementsOutput GenerateDartOutput() -> GenerateCTestXML() GenerateRegressionImages() -> RecordCustomTestMeasurements() cmCTestRunTest::DartProcessing() -> ParseOutputForMeasurements() | ||||
* | ctest: add support for attaching files to tests at run time | Zack Galbreath | 2021-06-08 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Allow tests to specify files to upload at runtime. Previously this was only possible to specify at configure time with the ATTACHED_FILES test properties. This commit also fixes a bug in how our test data tarballs were generated by CTest. Previously, if you tried to attach a file outside of the binary directory, CTest would generate a tar file with a relative path, and tar would not allow you to extract it. We resolve this problem by creating tar files with a flat directory structure instead. Fixes: #22284 | ||||
* | Tests: Add cases for CTest extra measurements from tests | Zack Galbreath | 2021-04-27 | 1 | -0/+17 |