mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
fix: count test cores by role on the surfaces
Five test cores moved from type: test to role: test. The page generator already leaves them out by role, the surface test still read the old type and counted 653 profiled cores against the page's 648.
This commit is contained in:
1 parent
60aae0c291
commit
d59b76dd02
1 file changed
+3
-1
@@ -450,7 +450,9 @@ class CoreCountsReadFromTheData(unittest.TestCase):
|
||||
sitepages.require()
|
||||
text = sitepages.page("cross-reference.md").read_text(encoding="utf-8")
|
||||
profiles = load_emulator_profiles(str(REPO_ROOT / "emulators"))
|
||||
unique = {k: v for k, v in profiles.items() if v.get("type") not in ("alias", "test")}
|
||||
# A test core says so in role, its type staying operational.
|
||||
unique = {k: v for k, v in profiles.items()
|
||||
if v.get("type") != "alias" and v.get("role") != "test"}
|
||||
registry = yaml.safe_load((REPO_ROOT / "platforms" / "_registry.yml").read_text(
|
||||
encoding="utf-8"))["platforms"]
|
||||
run = set()
|
||||
|
||||
Reference in new issue
Block a user