mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-20 00:28:09 -06:00
fix: list the libretro cores rocknix installs
ROCKNIX listed retroarch, which stood for every libretro profile (351
resolved), while its devices build 124 libretro packages. The platform
list now names the cores those packages install on at least one device.
The targets scraper read a package's name as its core: vice-lr installs
vice_x128, vice_x64, vice_xpet, vice_xplus4 and vice_xvic, which reached
no device. It now reads each package's makeinstall_target, the file
copied to ${INSTALL}/usr/lib/libretro under its target name, through
TARGET_ARCH and ENABLE_32BIT (pcsx_rearmed-lr, desmume-lr). 155
profiles resolve, each built by a device, and no device loses one.
This commit is contained in:
1 parent
ebba4c9c89
commit
a7e757598f
8 files changed
+909
-291
No files matched your search
@@ -480,7 +480,10 @@ class RocknixRunsItsStandaloneEmulators(unittest.TestCase):
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
platform = yaml.safe_load((root / "platforms" / "rocknix.yml").read_text())
|
||||
self.assertIn(f"/distribution/{platform['version']}/", platform["source"])
|
||||
self.assertIn("retroarch", platform["cores"])
|
||||
# RetroArch runs the libretro cores some device image installs, not
|
||||
# every libretro profile.
|
||||
self.assertNotIn("retroarch", platform["cores"])
|
||||
self.assertIn("beetle_psx", platform["cores"])
|
||||
registry = yaml.safe_load((root / "platforms" / "_registry.yml").read_text())
|
||||
self.assertNotIn("cores", registry["platforms"]["rocknix"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user