fix: pass archived and target flags to slots

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 16:09:15 +02:00
1 parent 4e7abebfa1
commit 5d6ab396e4
3 files changed
+60 -8

No files matched your search

+8 -4
View File
@@ -522,10 +522,14 @@ def main() -> None:
# upstream declaration no build can repair, so this reports and never gates.
# A crash is not a report: without --strict slots.py exits 0 on every
# conflict, so a non-zero code means it never finished reading.
ok, _ = run(
[sys.executable, "scripts/slots.py"],
"3b/8 slot arbitration",
)
# The same platforms and cores verify judged: without these flags the
# arbitration of an --include-archived run never looked at RetroPie.
slots_cmd = [sys.executable, "scripts/slots.py"]
if args.include_archived:
slots_cmd.append("--include-archived")
if args.target:
slots_cmd.extend(["--target", args.target])
ok, _ = run(slots_cmd, "3b/8 slot arbitration")
results["slots"] = ok
all_ok &= ok