Skip to content

Commit 5788d29

Browse files
committed
Remove TestsSupport target
1 parent 6834a90 commit 5788d29

21 files changed

+39
-32
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,19 +158,13 @@ let openGraphShimsTarget = Target.target(
158158
cSettings: sharedCSettings,
159159
swiftSettings: sharedSwiftSettings
160160
)
161-
let openGraphTestsSupportTarget = Target.target(
162-
name: "OpenGraphTestsSupport",
163-
cSettings: sharedCSettings,
164-
swiftSettings: sharedSwiftSettings
165-
)
166161

167162
// MARK: - Test Targets
168163

169164
let openGraphTestsTarget = Target.testTarget(
170165
name: "OpenGraphTests",
171166
dependencies: [
172167
"OpenGraph",
173-
"OpenGraphTestsSupport",
174168
],
175169
exclude: ["README.md"],
176170
cSettings: sharedCSettings,
@@ -180,7 +174,6 @@ let openGraphCxxTestsTarget = Target.testTarget(
180174
name: "OpenGraphCxxTests",
181175
dependencies: [
182176
"OpenGraphCxx",
183-
"OpenGraphTestsSupport",
184177
],
185178
exclude: ["README.md"],
186179
swiftSettings: sharedSwiftSettings + [.interoperabilityMode(.Cxx)]
@@ -189,7 +182,6 @@ let openGraphShimsTestsTarget = Target.testTarget(
189182
name: "OpenGraphShimsTests",
190183
dependencies: [
191184
"OpenGraphShims",
192-
"OpenGraphTestsSupport",
193185
],
194186
exclude: ["README.md"],
195187
cSettings: sharedCSettings,
@@ -198,7 +190,6 @@ let openGraphShimsTestsTarget = Target.testTarget(
198190
let openGraphCompatibilityTestsTarget = Target.testTarget(
199191
name: "OpenGraphCompatibilityTests",
200192
dependencies: [
201-
"OpenGraphTestsSupport",
202193
.product(name: "Numerics", package: "swift-numerics"),
203194
],
204195
exclude: ["README.md"],
@@ -221,7 +212,6 @@ let package = Package(
221212
openGraphTarget,
222213
openGraphSPITarget,
223214
openGraphShimsTarget,
224-
openGraphTestsSupportTarget,
225215

226216
openGraphTestsTarget,
227217
openGraphCxxTestsTarget,
@@ -278,10 +268,8 @@ if attributeGraphCondition {
278268

279269
let compatibilityTestCondition = envEnable("OPENGRAPH_COMPATIBILITY_TEST")
280270
if compatibilityTestCondition && attributeGraphCondition {
281-
openGraphTestsSupportTarget.addCompatibilitySettings()
282271
openGraphCompatibilityTestsTarget.addCompatibilitySettings()
283272
} else {
284-
openGraphTestsSupportTarget.dependencies.append("OpenGraph")
285273
openGraphCompatibilityTestsTarget.dependencies.append("OpenGraph")
286274
}
287275

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/AnyAttributeCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
// *** Program crashed: Bad pointer dereference at 0x0000000ffff9400a ***
98
// swift-testing framework will crash here on Linux

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/AttributeCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
#if canImport(Darwin)
98
@MainActor

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/ExternalCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
// *** Program crashed: Bad pointer dereference at 0x0000000ffff9400a ***
98
// swift-testing framework will crash here on Linux

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/FocusCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
#if canImport(Darwin)
98
@MainActor

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/PointerOffsetCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import RealModule
66
import Testing
7-
import OpenGraphTestsSupport
87

98
struct PointerOffsetCompatibilityTests {
109
@Test

Tests/OpenGraphCompatibilityTests/Attribute/Indirect/IndirectAttributeCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
#if canImport(Darwin)
98
@MainActor

Tests/OpenGraphCompatibilityTests/Attribute/Optional/AnyOptionalAttributeCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
#if canImport(Darwin)
98
@MainActor

Tests/OpenGraphCompatibilityTests/Attribute/Optional/OptionalAttributeCompatibilityTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// OpenGraphCompatibilityTests
44

55
import Testing
6-
import OpenGraphTestsSupport
76

87
#if canImport(Darwin)
98
@MainActor

0 commit comments

Comments
 (0)