mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
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:
1 parent
a5f2ed073f
commit
08e603fb83
1 file changed
+3
-1
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user