From c8d61fd10348ff42eb71a2cdb16863be250502f4 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Mon, 9 Nov 2026 23:28:05 +0100 Subject: [PATCH] fix: name rs232.rom as openmsx's code names it AHashScanLabelNamesNoOtherDump read openmsx-libretro's rs232.rom as fmsx's name for another dump: share/extensions/rs232.xml:18-22 names it, so it joins CODE_NAMED. test_standalone_links called unittest.main() before the amiberry classes, which a direct run skipped. --- tests/test_audit_regressions.py | 2 ++ tests/test_standalone_links.py | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index 5f0b7659a..9cdf78a03 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -6362,6 +6362,8 @@ class AHashScanLabelNamesNoOtherDump(unittest.TestCase): "share/machines/ColecoVision_SGM.xml:56 names it, tried beside the machine XML", ("openmsx", "fmpac.rom"): "share/machines/Boosted_MSX2_EN.xml:83 names it, tried beside the machine XML", + ("openmsx-libretro", "rs232.rom"): + "share/extensions/rs232.xml:18-22 names it, tried beside the extension XML", } @staticmethod diff --git a/tests/test_standalone_links.py b/tests/test_standalone_links.py index 1ead07910..4bdfb6935 100644 --- a/tests/test_standalone_links.py +++ b/tests/test_standalone_links.py @@ -540,10 +540,6 @@ class Scrapers(unittest.TestCase): self.assertIn("Dreamcast.BiosPath", records[0]["passes_to"]) -if __name__ == "__main__": - unittest.main() - - class OpenmsxOnEachPlatform(unittest.TestCase): """openMSX finds system ROMs by SHA1 in share/systemroms below its user directory and in every filepool entry. RetroBat sets OPENMSX_HOME to @@ -775,3 +771,7 @@ class AmiberryBuildEachPlatformShips(unittest.TestCase): self.assertEqual(entry["standalone_path"], entry["path"][len("kickstarts/"):]) else: self.assertEqual(entry.get("unplaced"), "outside_bios_folder") + + +if __name__ == "__main__": + unittest.main()