CTest: add test failure reason to JUnit XML output

In case of test failure, add the test failure reason (e.g. "Timeout") to the failure message in the XML file. This is the same value that is shown in the ctest text output.

Fixes: #24184 (closed)
Topic-rename: ctest-timeout-junit

Edited by Brad King

Merge request reports

Loading