mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-18 15:47:51 -06:00
fix: a check sample ends on code 3
The events transcript on the installer page is a --check run that finds files missing. Since November such a run ends on 3, as the Exit status table says, and the sample still showed 1.
This commit is contained in:
1 parent
50ec6a4474
commit
d8b55fc2de
2 files changed
+3
-2
No files matched your search
@@ -956,7 +956,8 @@ class EventsTranscript(unittest.TestCase):
|
||||
self.assertEqual(list(event), ["event", *keys[event["event"]]])
|
||||
self.assertEqual(events[0]["event"], "start")
|
||||
self.assertEqual(events[0]["mode"], "check")
|
||||
self.assertEqual(events[-1], {"event": "end", "code": 1})
|
||||
# --check that finds files missing ends on 3 (the Exit status table).
|
||||
self.assertEqual(events[-1], {"event": "end", "code": 3})
|
||||
|
||||
|
||||
class OneOptionsTable(unittest.TestCase):
|
||||
|
||||
Reference in new issue
Block a user