https://github.com/python/cpython/commit/e03073ff20107793a4ea28cdac0d6894774dd110
commit: e03073ff20107793a4ea28cdac0d6894774dd110
branch: main
author: Russell Keith-Magee <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2024-08-14T09:46:53+08:00
summary:
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.
files:
M iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
diff --git a/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
b/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
index b17bc275a66e42..9bf502a808eb88 100644
--- a/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
+++ b/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
@@ -15,6 +15,7 @@ - (void)testPython {
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.,
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]