mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 01:02:05 -04:00
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:
commit
2133e5f4f7
2 changed files with 5 additions and 1 deletions
4
CHANGES
4
CHANGES
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue