mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-13 21:43:55 -06:00
fix: settle batocera kconfig before mapping cores
Continued if-conditions were cut at their first line, so GLES3 held on every board, and selects guarded by a negation stayed on once fired. Derived flags are read line by line, each pass rebuilds the symbol set from the board, and the architecture comes from the board's BR2_<arch> choice.
This commit is contained in:
1 parent
d38cd58036
commit
313693e58b
4 files changed
+134
-274
No files matched your search
@@ -4560,7 +4560,12 @@ class TargetListsReadThePinnedRelease(unittest.TestCase):
|
||||
for name in ("batocera", "rocknix", "recalbox"):
|
||||
source = (ROOT / "scripts" / "scraper" / "targets" / f"{name}_targets_scraper.py").read_text()
|
||||
with self.subTest(scraper=name):
|
||||
self.assertIn("self.pinned_revision(PLATFORM_NAME)", source)
|
||||
# The Batocera scraper reads the pin of the platform it is
|
||||
# instantiated for (KNULLI subclasses it).
|
||||
self.assertTrue(
|
||||
"self.pinned_revision(PLATFORM_NAME)" in source
|
||||
or "self.pinned_revision(self.PLATFORM)" in source
|
||||
)
|
||||
self.assertNotIn("fetch_stable_tag()", source)
|
||||
self.assertNotIn("fetch_github_latest_version(", source)
|
||||
|
||||
|
||||
Reference in new issue
Block a user