mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 13:33:24 -05:00
fix: lay a hash pack out as its emulator does
This commit is contained in:
1 parent
e8bdcb405d
commit
9002a4a4bb
2 files changed
+50
-6
No files matched your search
@@ -50,5 +50,17 @@ class TheEmulatorContextIsChecked(unittest.TestCase):
|
||||
self.assertEqual(names, [])
|
||||
|
||||
|
||||
def test_the_standalone_layout_reaches_a_profile_without_structure(self):
|
||||
"""BBKEmu has no pack_structure; its A4980 8.BIN goes to
|
||||
system/BBKEmu/A4980/ standalone. The hash pack kept the bare name,
|
||||
then, once laid out, sent it to the A4988 folder whose entry shares
|
||||
the name."""
|
||||
md5 = "ddfc001a6859d63ed46368ea7fe9f20c"
|
||||
if not any(record.get("md5") == md5 for record in self.db["files"].values()):
|
||||
self.skipTest("the A4980 8.BIN is not collected")
|
||||
proc, names = _pack("--from-md5", md5, "--emulator", "bbkemu", "--standalone")
|
||||
self.assertEqual(proc.returncode, 0, proc.stderr)
|
||||
self.assertEqual(names, ["system/BBKEmu/A4980/8.BIN"])
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user