summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/fail_skipped_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/fail_skipped_tests.py b/.ci/fail_skipped_tests.py
index 6349921..2f4c446 100755
--- a/.ci/fail_skipped_tests.py
+++ b/.ci/fail_skipped_tests.py
@@ -16,7 +16,8 @@ def format_title(title):
f"{box['bl']}{hline}{box['br']}",
])
-tree = etree.parse(sys.argv[1])
+# The log coloring causes the XML to be invalid, so set recover=True
+tree = etree.parse(sys.argv[1], etree.XMLParser(recover=True))
for suite in tree.xpath('/testsuites/testsuite'):
skipped = suite.get('skipped')
if int(skipped) != 0: