We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e89e0c commit 170b023Copy full SHA for 170b023
Sources/Commands/SwiftTestTool.swift
@@ -932,9 +932,14 @@ final class ParallelTestRunner {
932
let thread = Thread {
933
// Dequeue a specifier and run it till we encounter nil.
934
while let test = self.pendingTests.dequeue() {
935
+#if os(macOS)
936
+ let additionalArguments = ["-XCTest", test.specifier]
937
+#else
938
+ let additionalArguments = [test.specifier]
939
+#endif
940
let testRunner = TestRunner(
941
bundlePaths: [test.productPath],
- additionalArguments: ["-XCTest", test.specifier],
942
+ additionalArguments: additionalArguments,
943
cancellator: self.cancellator,
944
toolchain: self.toolchain,
945
testEnv: testEnv,
0 commit comments