upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/progress_dashboard.py
diff options
context:
space:
mode:
authorbimo0o <97752174+bimo0o@users.noreply.github.com>2026-11-26 23:22:35 +0300
committerbimo0o <466312@niuitmo.ru>2026-11-29 21:54:11 +0300
commit2a4b878356941e9aa2f357fb7ed30d1332fcc899 (patch)
tree6745db340ac87ec2bb998d52e701a30f3c7c0a3a /tools/progress_dashboard.py
parent7c330c76dbd87256037702a1074b7a0135f68feb (diff)
progress_dashboard: reject non-JUnit XML reports
AI-assisted with Codex.
Diffstat (limited to 'tools/progress_dashboard.py')
-rw-r--r--tools/progress_dashboard.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/progress_dashboard.py b/tools/progress_dashboard.py
index 78d06aa1e..0d595f491 100644
--- a/tools/progress_dashboard.py
+++ b/tools/progress_dashboard.py
@@ -550,6 +550,9 @@ def collect_ctest(col, args):
550 if source_id == "ctest_junit" and not is_ctest: 550 if source_id == "ctest_junit" and not is_ctest:
551 col.source(source_id, path, "invalid", note="expected a CTest --output-junit report") 551 col.source(source_id, path, "invalid", note="expected a CTest --output-junit report")
552 continue 552 continue
553 if root.tag not in ("testsuite", "testsuites"):
554 col.source(source_id, path, "invalid", note="expected a JUnit report with a testsuite or testsuites root")
555 continue
553 rows = parse_junit(root) 556 rows = parse_junit(root)
554 sets.append((label, path, rows, is_ctest)) 557 sets.append((label, path, rows, is_ctest))
555 col.source(source_id, path, "ok", len(rows)) 558 col.source(source_id, path, "ok", len(rows))