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:
Abdessamad Derraz committed 2026-11-23 23:07:45 +01:00
1 parent f379df5e1e
commit e62332b4c6
7 files changed
+59 -19

No files matched your search

+2 -1
View File
@@ -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