fix: read a missing name with spaces whole

The parity test cut each MISSING line at the first space. openMSX's
ROM names hold spaces (Japanese MSX-Write (1986) (Ascii) (J).rom), so
the msx pack's list read 'Japanese' where verify named the file. Both
sides now name the same 81 files.
This commit is contained in:
Abdessamad Derraz committed 2026-11-10 06:51:08 +01:00
1 parent a5f2ed073f
commit 08e603fb83
1 file changed
+3 -1
+3 -1
View File
@@ -51,7 +51,9 @@ class SystemPackMatchesVerify(unittest.TestCase):
"--output-dir", str(self.out / system),
)
report = json.loads(_run("scripts/verify.py", "--system", system, "--json"))
pack_missing = sorted(re.findall(r"^ MISSING: (\S+)", packed, re.M))
# The rest of the line is the name: openMSX's ROM names hold
# spaces ("Japanese MSX-Write (1986) (Ascii) (J).rom").
pack_missing = sorted(re.findall(r"^ MISSING: (.+)$", packed, re.M))
# One per destination, as the pack reports them. An entry the
# collection cannot hold is counted apart on both sides.
verify_missing = sorted({