chore: fail the slots check when nothing is settled

This commit is contained in:
Abdessamad Derraz committed 2026-10-17 01:55:49 +02:00
1 parent 78162e7022
commit 03275fe0b3
1 file changed
+4 -2
+4 -2
View File
@@ -598,8 +598,10 @@ class ManifestFollowsTheArbitration(unittest.TestCase):
config, profiles, db, build_zip_contents_index(db),
load_data_dir_registry(str(repo / "platforms")),
)
if not overrides:
self.skipTest("no contested slot the pack settles on its own")
# RetroArch serves a core's own copy at contested slots (ATARIOSB.ROM,
# dsi_bios7/9.bin): an arbitration that settles nothing is the
# failure, not a reason to skip.
self.assertTrue(overrides, "pack_overrides settles no RetroArch slot")
manifest = generate_pack.generate_manifest(
"retroarch", str(repo / "platforms"), db, str(repo / "bios"),
str(repo / "platforms" / "_registry.yml"),