]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ensure that iOS test re-runs don't try to spawn a process. (#122994)
authorRussell Keith-Magee <russell@keith-magee.com>
Wed, 14 Aug 2024 01:46:53 +0000 (09:46 +0800)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2024 01:46:53 +0000 (09:46 +0800)
Adds the --single-process option to the iOS test runner to ensure re-runs execute in the same process.

iOS/testbed/iOSTestbedTests/iOSTestbedTests.m

index b17bc275a66e42f017b2ca76bcbf85218a39e605..9bf502a808eb886896f71ce2070019974727f969 100644 (file)
@@ -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.,