mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-12 04:53:52 -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):
|
||||
|
||||
+1
-1
@@ -1877,7 +1877,7 @@ RetroArch folder that holds only `scph5501.bin`, in the order written:
|
||||
{"event": "file", "platform": "retroarch", "dest": "scph5501.bin", "systems": ["sony-playstation"], "size": 524288, "state": "present"}
|
||||
{"event": "check", "platform": "retroarch", "name": "RetroArch", "bios_dir": "system", "files": 118, "present": 1, "missing": 117, "wrong_hash": 0, "bytes_needed": 344457216, "data_missing": 0, "not_installable": 0}
|
||||
{"event": "summary", "mode": "check", "installed": 0, "up_to_date": 1, "pending": 117, "failed": [], "skipped": [], "left_out": [], "kept": [], "interrupted": false}
|
||||
{"event": "end", "code": 1}
|
||||
{"event": "end", "code": 3}
|
||||
```
|
||||
|
||||
## Environment overrides
|
||||
|
||||
Reference in new issue
Block a user