https://github.com/python/cpython/commit/fa21b3b8ee5327cdedb62b6459181952fd7680fd
commit: fa21b3b8ee5327cdedb62b6459181952fd7680fd
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2024-08-27T08:53:05+08:00
summary:

[3.13] Ensure that iOS test re-runs don't try to spawn a process. (GH-122994) 
(#123368)

Ensure that iOS test re-runs don't try to spawn a process. (GH-122994)

Adds the --single-process option to the iOS test runner to ensure re-runs 
execute in the same process.
(cherry picked from commit e03073ff20107793a4ea28cdac0d6894774dd110)

Co-authored-by: Russell Keith-Magee <[email protected]>

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]

Reply via email to