]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert JUnit XML from pytest into Automake .trs files
authorTom Krizek <tkrizek@isc.org>
Tue, 5 Sep 2023 14:16:20 +0000 (16:16 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 19 Sep 2023 12:47:49 +0000 (14:47 +0200)
commitb96c8e806265ba8dbe81ea50fc0d84c33c27289c
treef9cc7ed8d08769631736f7b41f180fbe2178a094
parent15fa8f1506f28fdc304f863155cf71f50ed917c1
Convert JUnit XML from pytest into Automake .trs files

It's important to parse the JUnit result file rather than relying on the
exit code from pytest, which has a different meaning. Include a .trs test
result for each test case and set an exit code which is most appropriate
as the aggregate result (e.g. it will be set to 77 (SKIP) if there's at
least one test case that was skipped).
bin/tests/system/convert-junit-to-trs.py [new file with mode: 0755]