fix: hold the new profiles to the shared checks

BizHawk's NDS firmware slot accepts six dumps, two of which the collection holds, and the profile named one. Kega Fusion's US Mega CD BIOS covers the Americas. Sonic 3 A.I.R. data is installed by Batocera in unpacked form. izApple2 downloads its ProDOS images when a card is added, which is no install. The Lakka list now equals a case-keeping RetroArch install less what Lakka's packages install, and the profile hash contradiction count leaves out entries no pack ships. The pipeline table names step 8b.
This commit is contained in:
Abdessamad Derraz committed 2026-10-20 08:12:03 +02:00
1 parent 274db1322f
commit 9b630a39bb
5 files changed
+30 -8

No files matched your search

+15 -4
View File
@@ -2366,10 +2366,21 @@ class CaseVariants(unittest.TestCase):
self.assertIn("bios.col", variants)
lakka = json.loads((REPO_ROOT / "install" / "lakka.json").read_text())
folded = {e["dest"] for e in manifest["files"]}
self.assertEqual(
{e["dest"] for e in lakka["files"]}, folded | variants,
"a case-keeping RetroArch install equals the Lakka list",
)
# A case-keeping RetroArch install is the Lakka list, less what
# Lakka's own core packages install (installed_on: lakka).
sys.path.insert(0, str(REPO_ROOT / "scripts"))
from common import load_emulator_profiles
installed = {
entry.get("path") or entry.get("name")
for profile in load_emulator_profiles(str(REPO_ROOT / "emulators")).values()
for entry in profile.get("files") or []
if isinstance(entry, dict) and "lakka" in (entry.get("installed_on") or [])
}
lakka_dests = {e["dest"] for e in lakka["files"]}
self.assertEqual(lakka_dests - (folded | variants), set())
self.assertEqual((folded | variants) - lakka_dests - installed, set(),
"a case-keeping RetroArch install equals the Lakka list")