Skip to content

Commit 3c541cc

Browse files
authored
Remove linux/windows guard from DependencyValidationTests (#917)
These tests are actually macOS-only at this point, so the requirements should reflect that.
1 parent 9e981d9 commit 3c541cc

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
@@ -502,12 +502,12 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
502502
}
503503
}
504504

505-
@Test(.requireSDKs(.host), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"))
505+
@Test(.requireSDKs(.macOS))
506506
func validateModuleDependenciesSwift() async throws {
507507
try await validateModuleDependenciesSwift(explicitModules: true)
508508
}
509509

510-
@Test(.requireSDKs(.host), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"))
510+
@Test(.requireSDKs(.macOS))
511511
func validateModuleDependenciesSwiftExplicitModulesOff() async throws {
512512
try await validateModuleDependenciesSwift(explicitModules: false)
513513
}
@@ -582,7 +582,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
582582
}
583583
}
584584

585-
@Test(.requireSDKs(.host), .requireClangFeatures(.printHeadersDirectPerFile), .skipHostOS(.windows, "toolchain too old"), .skipHostOS(.linux, "toolchain too old"), arguments: [false, true])
585+
@Test(.requireSDKs(.macOS), .requireClangFeatures(.printHeadersDirectPerFile), arguments: [false, true])
586586
func validateModuleDependenciesMixedSource(downgradeErrors: Bool) async throws {
587587
try await withTemporaryDirectory { tmpDir async throws -> Void in
588588
let testWorkspace = try await TestWorkspace(
@@ -727,7 +727,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
727727
}
728728
}
729729

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

0 commit comments

Comments
 (0)