mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 01:53:56 -06:00
fix: tell core_probe the lock is held
This commit is contained in:
1 parent
d035a26828
commit
7433d49666
3 files changed
+12
-4
No files matched your search
@@ -270,6 +270,8 @@ class Lock(unittest.TestCase):
|
||||
|
||||
def fake_run(command, **kwargs):
|
||||
held.append(try_lock())
|
||||
self.assertEqual(kwargs["env"]["RETROBIOS_PROBE_LOCK_HELD"], "1")
|
||||
self.assertEqual(kwargs["env"]["RETROBIOS_PROBE_LOCK"], str(lock))
|
||||
return subprocess.CompletedProcess(command, 2, "", "refused")
|
||||
|
||||
lay = layout({"a.bin": 1})
|
||||
|
||||
Reference in new issue
Block a user