Commit Graph

5 Commits

Author SHA1 Message Date
Giacomo Vercesi f9b7df163a test-harness: wrap children retrieval
In some corner cases, the `psutil.Process.children()` function might
throw a `NoSuchProcess` in case the parent died in the meantime. Wrap
the `.children()` function in a `_get_children` function to guard
against this case.
2025-10-20 10:28:44 +02:00
Giacomo Vercesi 2ca8776984 test-harness: add missing type annotation 2025-10-20 10:25:03 +02:00
Giacomo Vercesi d098c14afd test-harness: handle race on program PID
The `pid_has_signal` function can throw an exception if in the meantime
the program pid has disappeared (`FileNotFoundError`). Handle this
corner case.
2025-06-04 13:30:42 +02:00
Giacomo Vercesi 023b470473 mass-testing: implement cmd/env overrides
Implement override mechanisms via command-line and/or env for the
following aspects:
* The maximum memory set by `test-harness`
* The timeout handled by `test-harness`
* The number of concurrent jobs to spawn while running `revng mass-testing run`
2024-10-31 08:58:59 +01:00
Giacomo Vercesi 3fe3a8524a Implement mass testing
Add the `revng mass-testing` commands and auxiliary executables which
simplify running revng on a huge quantity of input executables.
2024-10-01 13:38:21 +02:00