Skip to content

Commit e7f2b8a

Browse files
committed
Omit test diagnostics from iOS testbed runs.
1 parent aab474a commit e7f2b8a

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎Platforms/Apple/testbed/__main__.py‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,18 @@ def xcode_test(location: Path, platform: str, simulator: str, verbose: bool):
8888
test_env["TEST_RUNNER_GITHUB_ACTIONS"] = os.environ["GITHUB_ACTIONS"]
8989

9090
print("Running test project...")
91-
# Test execution *can't* be run -quiet; verbose mode
92-
# is how we see the output of the test output.
91+
# Test execution *can't* be run -quiet; verbose mode is how we see the
92+
# output of the test output. However, we don't need test diagnostics -
93+
# they're large, and the context they contain generally isn't helpful for
94+
# CPython tests.
9395
process = subprocess.Popen(
94-
["xcodebuild", "test-without-building"] + args,
96+
[
97+
"xcodebuild",
98+
"test-without-building",
99+
"-collect-test-diagnostics",
100+
"never",
101+
]
102+
+ args,
95103
stdout=subprocess.PIPE,
96104
stderr=subprocess.STDOUT,
97105
env=test_env,

0 commit comments

Comments
 (0)