Skip to content

Commit 137893a

Browse files
committed
Remove linux/windows guard from DependencyValidationTests
These tests are actually macOS-only at this point, so the requirements should reflect that.
1 parent 3a9a8f6 commit 137893a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/SWBBuildSystemTests/DependencyValidationTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,12 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
494494
}
495495
}
496496

497-
@Test(.requireSDKs(.host), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"))
497+
@Test(.requireSDKs(.macOS))
498498
func validateModuleDependenciesSwift() async throws {
499499
try await validateModuleDependenciesSwift(explicitModules: true)
500500
}
501501

502-
@Test(.requireSDKs(.host), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"))
502+
@Test(.requireSDKs(.macOS))
503503
func validateModuleDependenciesSwiftExplicitModulesOff() async throws {
504504
try await validateModuleDependenciesSwift(explicitModules: false)
505505
}
@@ -574,7 +574,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
574574
}
575575
}
576576

577-
@Test(.requireSDKs(.host), .requireClangFeatures(.printHeadersDirectPerFile), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"), arguments: [false, true])
577+
@Test(.requireSDKs(.macOS), .requireClangFeatures(.printHeadersDirectPerFile), arguments: [false, true])
578578
func validateModuleDependenciesMixedSource(downgradeErrors: Bool) async throws {
579579
try await withTemporaryDirectory { tmpDir async throws -> Void in
580580
let testWorkspace = try await TestWorkspace(
@@ -719,7 +719,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
719719
}
720720
}
721721

722-
@Test(.requireSDKs(.host), .requireClangFeatures(.printHeadersDirectPerFile), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"))
722+
@Test(.requireSDKs(.macOS), .requireClangFeatures(.printHeadersDirectPerFile))
723723
func validateUnusedModuleDependencies() async throws {
724724
try await withTemporaryDirectory { tmpDir in
725725
let testWorkspace = try await TestWorkspace(

0 commit comments

Comments
 (0)