Skip to content

Commit 6383693

Browse files
committed
Move Test Package to test targets
1 parent c01d196 commit 6383693

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ let package = Package(
725725

726726
// MARK: Additional Test Dependencies
727727

728-
.target(
728+
.testTarget(
729729
/** SwiftPM internal build test suite support library */
730730
name: "_InternalBuildTestSupport",
731731
dependencies: [
@@ -734,12 +734,13 @@ let package = Package(
734734
"SwiftBuildSupport",
735735
"_InternalTestSupport"
736736
],
737+
path: "Sources/_InternalBuildTestSupport",
737738
swiftSettings: [
738739
.unsafeFlags(["-static"]),
739740
]
740741
),
741742

742-
.target(
743+
.testTarget(
743744
/** SwiftPM internal test suite support library */
744745
name: "_InternalTestSupport",
745746
dependencies: [
@@ -754,6 +755,7 @@ let package = Package(
754755
.product(name: "OrderedCollections", package: "swift-collections"),
755756
"Workspace",
756757
],
758+
path: "./Sources/_InternalTestSupport",
757759
swiftSettings: [
758760
.unsafeFlags(["-static"]),
759761
]

0 commit comments

Comments
 (0)