test: add junit output option to test runner
Rather than output tap and then convert it via tap2junit into xml for our CI (to workaround bad performance uploading tap results to the builds) it might be more efficient to just output xml directly from the test runner. This PR attempts to add a junit
output option to the test runner.
Things I can think of that still need looking at (hence currently WIP):
-
handling of flaky tests -
check failure output is usable
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines