mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
fix: tests rerun what autorun retries
run_tests reran a module only when a signal killed it: a SystemError or an unknown opcode from this host's CPU failed the run, where an autorun step failing the same way ran again. host_misread moves to core.hostguard and both runners read it, a signal kill of any kind now counting for autorun too.
This commit is contained in:
1 parent
f379df5e1e
commit
e62332b4c6
7 files changed
+59
-19
No files matched your search
@@ -24,7 +24,8 @@ python -m unittest discover -s tests -t . -v
|
||||
```
|
||||
|
||||
Or run it as parallel processes, one per module, each with its own
|
||||
scratch folder. A module a host crash kills runs again alone at the end:
|
||||
scratch folder. A module a host crash kills, or that fails with `SystemError`
|
||||
or "unknown opcode", runs again alone at the end:
|
||||
|
||||
```bash
|
||||
python scripts/run_tests.py # a few modules at a time
|
||||
|
||||
Reference in new issue
Block a user