Skip to content

Commit 9d5c37a

Browse files
authored
Skip testExplicitSwiftPackageBuild instead of silently passing if toolchain is too old (#2957)
1 parent 726eff2 commit 9d5c37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/BuildTests/BuildPlanTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ final class BuildPlanTests: XCTestCase {
255255
// will not be able to parse the `-print-target-info` output. In which case,
256256
// we cannot yet rely on the integrated swift driver.
257257
// This effectively guards the test from running on unupported, older toolchains.
258-
return
258+
throw XCTSkip()
259259
}
260260
}
261261
}

0 commit comments

Comments
 (0)