summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2024-08-14 01:46:53 (GMT)
committerGitHub <noreply@github.com>2024-08-14 01:46:53 (GMT)
commite03073ff20107793a4ea28cdac0d6894774dd110 (patch)
tree7982752a477fd412c52d88874e199a74207962e2
parentce39d3c6bdab4c703ad95f37831b410fb729e116 (diff)
downloadcpython-e03073ff20107793a4ea28cdac0d6894774dd110.zip
cpython-e03073ff20107793a4ea28cdac0d6894774dd110.tar.gz
cpython-e03073ff20107793a4ea28cdac0d6894774dd110.tar.bz2
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.
-rw-r--r--iOS/testbed/iOSTestbedTests/iOSTestbedTests.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m b/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
index b17bc27..9bf502a 100644
--- a/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
+++ b/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
@@ -15,6 +15,7 @@
const char *argv[] = {
"iOSTestbed", // argv[0] is the process that is running.
"-uall", // Enable all resources
+ "--single-process", // always run all tests sequentially in a single process
"--rerun", // Re-run failed tests in verbose mode
"-W", // Display test output on failure
// To run a subset of tests, add the test names below; e.g.,