mirror of https://github.com/python/cpython
Ensure that iOS test re-runs don't try to spawn a process. (#122994)
Adds the --single-process option to the iOS test runner to ensure re-runs execute in the same process.
This commit is contained in:
parent
ce39d3c6bd
commit
e03073ff20
|
@ -15,6 +15,7 @@
|
||||||
const char *argv[] = {
|
const char *argv[] = {
|
||||||
"iOSTestbed", // argv[0] is the process that is running.
|
"iOSTestbed", // argv[0] is the process that is running.
|
||||||
"-uall", // Enable all resources
|
"-uall", // Enable all resources
|
||||||
|
"--single-process", // always run all tests sequentially in a single process
|
||||||
"--rerun", // Re-run failed tests in verbose mode
|
"--rerun", // Re-run failed tests in verbose mode
|
||||||
"-W", // Display test output on failure
|
"-W", // Display test output on failure
|
||||||
// To run a subset of tests, add the test names below; e.g.,
|
// To run a subset of tests, add the test names below; e.g.,
|
||||||
|
|
Loading…
Reference in New Issue