upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 17:24:37 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 17:24:37 -0500
commite6b8e21d3ec1d72cdddda0943c7d4a6f82e275b2 (patch)
tree7d318e044b9162f9244607180f7ddbf8803677d7 /scripts
parent98a688ece48787a4eec9c1c9212bd18dd791d209 (diff)
parent75e158bfc3ff6ccf1f25415cfc264aba2ec026b7 (diff)
Merge remote-tracking branch 'origin/pr/9705'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_wine_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/run_wine_tests.py b/scripts/run_wine_tests.py
index cdabbc91c..8435f7fb9 100644
--- a/scripts/run_wine_tests.py
+++ b/scripts/run_wine_tests.py
@@ -380,7 +380,7 @@ def main() -> int:
380 for line in detail.rstrip().splitlines()[-40:]: 380 for line in detail.rstrip().splitlines()[-40:]:
381 print(f" {line}") 381 print(f" {line}")
382 382
383 missing = [n for n in args.require if n not in results] 383 missing = list(dict.fromkeys(n for n in args.require if n not in results))
384 failed_required = [n for n in args.require if results.get(n) != "pass"] 384 failed_required = [n for n in args.require if results.get(n) != "pass"]
385 counts = {s: sum(1 for v in results.values() if v == s) for s in ("pass", "fail", "skip")} 385 counts = {s: sum(1 for v in results.values() if v == s) for s in ("pass", "fail", "skip")}
386 print(f"\n{counts['pass']} passed, {counts['fail']} failed, {counts['skip']} skipped under Wine " 386 print(f"\n{counts['pass']} passed, {counts['fail']} failed, {counts['skip']} skipped under Wine "
@@ -399,6 +399,9 @@ def main() -> int:
399 f.write("| Test | Result | Required |\n|---|---|---|\n") 399 f.write("| Test | Result | Required |\n|---|---|---|\n")
400 for name, status in results.items(): 400 for name, status in results.items():
401 f.write(f"| `{name}` | {status} | {'yes' if name in args.require else ''} |\n") 401 f.write(f"| `{name}` | {status} | {'yes' if name in args.require else ''} |\n")
402 for name in missing:
403 # The job fails on these, so the table must name them, not only the log.
404 f.write(f"| `{name}` | missing: not listed by the Windows build | yes |\n")
402 f.write("\n") 405 f.write("\n")
403 except OSError as e: 406 except OSError as e:
404 print(f"ERROR: cannot write the summary {args.summary}: {e.strerror or e}", file=sys.stderr) 407 print(f"ERROR: cannot write the summary {args.summary}: {e.strerror or e}", file=sys.stderr)