Issue GH-84461 / PR GH-91930 introduces a new test runner API to execute tests with a different Python interpreter. It is used by WebAssembly and other cross-compile targets to run tests. The test controll process uses the native build Python interpreter while the tests workers use the cross compiled host Python interpreter with a HOSTRUNNER like wasmtime or NodeJS.
The rerun_failed_tests() method does not use ns.python. Failed tests are re-executed with the build Python instead of host Python.
Activity
pythongh-94052: Don't re-run failed tests with --python option (pytho…
gh-94052: Don't re-run failed tests with --python option (GH-94054)
emmatyping commented on Jun 22, 2022
It seems that rerunning failed tests does not use processes at all unfortunately :/
I think the test rerunning code could be modified to use the multiprocess test executor with some effort.
Revert 30935 defer bpo45162 to 312 (#94285)
Revert "pythongh-94052: Don't re-run failed tests with --python option (
pythongh-94052: Don't re-run failed tests with --python option (pytho…
[3.11] gh-108822: Backport libregrtest changes from the main branch (#…