Skip to content

Commit 9255f92

Browse files
author
Luke Daley
committed
Restrict tests to macOS
1 parent 5a4df16 commit 9255f92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/SWBTaskConstructionTests/DependencyVerificationTaskConstructionTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fileprivate struct DependencyVerificationTaskConstructionTests: CoreBasedTests {
2929
return "\(srcroot.str)/build/\(project).build/Debug/\(target).build/Objects-normal/x86_64/\(filename)"
3030
}
3131

32-
@Test
32+
@Test(.requireSDKs(.macOS))
3333
func addsTraceArgsWhenDependenciesDeclared() async throws {
3434
try await testWith(["DEPENDENCIES": "Foo"]) { tester, srcroot in
3535
await tester.checkBuild(runDestination: .macOS) { results in
@@ -51,7 +51,7 @@ fileprivate struct DependencyVerificationTaskConstructionTests: CoreBasedTests {
5151
}
5252
}
5353

54-
@Test
54+
@Test(.requireSDKs(.macOS))
5555
func noTraceArgsWhenDependenciesDeclared() async throws {
5656
try await testWith([:]) { tester, srcroot in
5757
await tester.checkBuild(runDestination: .macOS) { results in
@@ -65,7 +65,7 @@ fileprivate struct DependencyVerificationTaskConstructionTests: CoreBasedTests {
6565
}
6666
}
6767

68-
@Test
68+
@Test(.requireSDKs(.macOS))
6969
func canEnableVerificationOfNoDependencies() async throws {
7070
try await testWith(["DEPENDENCIES_VERIFICATION": "YES"]) { tester, srcroot in
7171
await tester.checkBuild(runDestination: .macOS) { results in

0 commit comments

Comments
 (0)