Merge branch '4560-pytest-junit-xml-compat' into 'main'

Support older junit XML format in test result processing

Closes #4560

See merge request isc-projects/bind9!8696
This commit is contained in:
Tom Krizek 2024-02-08 13:57:07 +00:00
commit 2133e5f4f7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
6340. [test] Fix incorrectly reported errors when running tests
with `make test` on platforms with older pytest.
[GL #4560]
6339. [bug] The alignas() can't be used on types larger than
max_align_t; instead add padding into the structures
where we want avoid false memory sharing. [GL #4187]

View file

@ -13,7 +13,7 @@ from xml.etree import ElementTree
def junit_to_trs(junit_xml):
root = ElementTree.fromstring(junit_xml)
testcases = root.findall("./testsuite/testcase")
testcases = root.findall(".//testcase")
if len(testcases) < 1:
print(":test-result: ERROR convert-junit-to-trs.py")