Skip to content

Commit 6e71f7f

Browse files
authored
Package: Update Swift Tool Support Core references (#8910)
When the Integration Tests were merged with the Tests (#8223), the `Package.swift` added dependencies on Swift Tools Support Core. However, the declaration did not take into account when the SWIFTPM_SWBUILD_FRAMEWORK environment variable was defined, which was updated in #8442 and #8802. Update the declaration of any Swift Tools Support Core dependencies to use the respective local variables.
1 parent 6252b97 commit 6e71f7f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Package.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,7 @@ let package = Package(
840840
name: "_IntegrationTestSupport",
841841
dependencies: [
842842
"_InternalTestSupport",
843-
.product(name: "TSCTestSupport", package: "swift-tools-support-core"),
844-
],
843+
] + swiftTSCTestSupportDeps,
845844
),
846845

847846
.target(
@@ -1052,9 +1051,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS"] ==
10521051
dependencies: [
10531052
"_IntegrationTestSupport",
10541053
"_InternalTestSupport",
1055-
.product(name: "TSCTestSupport", package: "swift-tools-support-core"),
1056-
.product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"),
1057-
],
1054+
] + swiftTSCTestSupportDeps + swiftToolsCoreSupportAutoDeps,
10581055
),
10591056
.testTarget(
10601057
name: "CommandsTests",

0 commit comments

Comments
 (0)