mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
fix: type role libretro cores as libretro
2048 and gong (game), radio and video_processor (utility) and the test cores (test) are libretro builds, but their role sat in type:, which resolve_platform_cores filters on: all_libretro left them out, so no platform resolved them and RetroArch's manifest named none, the --installed-cores gap of issue 87. The role moves to role:, and type stays libretro: type keeps saying how a profile is built and run, which the resolver reads, while teaching the resolver that three role values mean libretro would make type a classification again. The site and coverage leave test cores out by role. fluidsynth, a library and no libretro core, keeps type utility. A test keeps every buildbot core named by RetroArch's resolution.
This commit is contained in:
1 parent
b4152f9aaf
commit
314b15b4ad
23 files changed
+104
-53
No files matched your search
@@ -55,7 +55,7 @@ class EngineIntros(unittest.TestCase):
|
||||
def test_every_intro_names_what_it_emulates(self):
|
||||
for path in sorted(glob.glob(str(REPO_ROOT / "emulators" / "*.yml"))):
|
||||
profile = yaml.safe_load(Path(path).read_text(encoding="utf-8"))
|
||||
if not isinstance(profile, dict) or profile.get("type") in ("alias", "test"):
|
||||
if not isinstance(profile, dict) or profile.get("type") == "alias" or profile.get("role") == "test":
|
||||
continue
|
||||
name = Path(path).stem
|
||||
with self.subTest(profile=name):
|
||||
|
||||
Reference in new issue
Block a user