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.
2 parents 4cfbe41 + d2a2be4 commit 173a581Copy full SHA for 173a581
Sources/Commands/SwiftTestTool.swift
@@ -357,7 +357,8 @@ public class SwiftTestTool: SwiftTool<TestToolOptions> {
357
let buildDescription = try getBuildDescription(graph: graph)
358
359
if options.shouldBuildTests {
360
- try build(buildDescription: buildDescription, subset: .allIncludingTests)
+ let subset = options.testProduct.map(BuildSubset.product) ?? .allIncludingTests
361
+ try build(buildDescription: buildDescription, subset: subset)
362
}
363
364
// Find the test product.
0 commit comments