diff --git a/emulators/pcem.yml b/emulators/pcem.yml index a77666867..e43245936 100644 --- a/emulators/pcem.yml +++ b/emulators/pcem.yml @@ -5,7 +5,8 @@ source: "https://github.com/libretro/libretro-pcem" upstream: "https://github.com/sarah-walker-pcem/pcem" profiled_date: "2026-03-24" source_commit: "e07923e902dcedcf65a502fb3f14e75b9ded5271" -upstream_commit: "25b54e3ff1d51cbf2469b447e55bce7a589697e9" +upstream_commit: "10739b9618e388a5bf8c21e752f12b3952fa83e1" +upstream_frozen: "The port took PCem mainline patches by hand until 2016-04-13 (libretro-pcem c9f3593f, 223f434f), which carry this commit of 2016-04-12 and none after it." core_version: "v10.1" version_basis: kind: file diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index feef8945d..4065929b6 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -5800,6 +5800,19 @@ class XeniosFollowsThePreviewBranch(unittest.TestCase): self.assertNotIn("from the xenios branch", profile.get("notes", "")) +class PcemUpstreamPinIsTheLastSync(unittest.TestCase): + """The pcem bump set upstream_commit to dev's HEAD 25b54e3f, and dev was + rewritten: the pin left every branch (compare: diverged 109/114). The + port shares no history with upstream and took mainline patches by hand + until 2016-04-13, whose last upstream commit is 10739b96. Held there, a + bump cannot move it to a HEAD the port never contained.""" + + def test_the_upstream_pin_is_held_at_the_last_sync(self): + profile = yaml.safe_load((ROOT / "emulators" / "pcem.yml").read_text(encoding="utf-8")) + self.assertEqual(profile["upstream_commit"], "10739b9618e388a5bf8c21e752f12b3952fa83e1") + self.assertTrue(profile.get("upstream_frozen")) + + class AHashScanLabelNamesNoOtherDump(unittest.TestCase): """A core that finds its firmware by content names no file, so each entry name is a label. ares labelled its Famicom Disk System revision