From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:53:05 +0000 (+0200) Subject: [3.13] Ensure that iOS test re-runs don't try to spawn a process. (GH-122994) (#123368) X-Git-Tag: v3.13.0rc2~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa21b3b8ee5327cdedb62b6459181952fd7680fd;p=thirdparty%2FPython%2Fcpython.git [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 --- diff --git a/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m b/iOS/testbed/iOSTestbedTests/iOSTestbedTests.m index b17bc275a66e..9bf502a808eb 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.,