]> 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>
Wed, 20 Sep 2023 08:33:42 +0000 (10:33 +0200)
commitfce6fa0fc4beb15929102546151bac9599941cd7
tree132bbd51c908754a2534e6bab7dd48190a552560
parent68f186dd82f12e966e2dbb2f47dc1de2a1ac80b5
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).

(cherry picked from commit b96c8e806265ba8dbe81ea50fc0d84c33c27289c)
bin/tests/system/convert-junit-to-trs.py [new file with mode: 0755]