Skip to content

Commit

Permalink
Ensure that iOS test re-runs don't try to spawn a process. (python#12…
Browse files Browse the repository at this point in the history
…2994)

Adds the --single-process option to the iOS test runner to ensure re-runs execute in the same process.
  • Loading branch information
freakboy3742 authored Aug 14, 2024
1 parent ce39d3c commit e03073f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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.,
Expand Down

0 comments on commit e03073f

Please sign in to comment.