Skip to content

Commit 1d0650e

Browse files
committed
Adjust skip criteria for 2 remaining linux test failures
1 parent d630b25 commit 1d0650e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/SWBCoreTests/CommandLineToolSpecDiscoveredInfoTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ import Testing
168168
}
169169
}
170170

171-
@Test(.skipHostOS(.windows))
171+
@Test(.skipHostOS(.windows), .requireSystemPackages(apt: "libtool", yum: "libtool"))
172172
func discoveredLibtoolSpecInfo() async throws {
173173
try await withSpec(LibtoolLinkerSpec.self, .deferred) { (info: DiscoveredLibtoolLinkerToolSpecInfo) in
174174
#expect(info.toolPath.basename == "libtool")

Tests/SWBTaskConstructionTests/ClangTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fileprivate struct ClangTests: CoreBasedTests {
142142
}
143143
}
144144

145-
@Test(.skipHostOS(.windows, "clang-cache is not available on Windows"), .requireSDKs(.host))
145+
@Test(.skipHostOS(.windows, "clang-cache is not available on Windows"), .skipHostOS(.linux, "test is incompatible with linux fallback system toolchain mechanism"), .requireSDKs(.host))
146146
func clangCacheEnableLauncher() async throws {
147147
let runDestination: RunDestinationInfo = .host
148148
let clangCachePath: String = switch runDestination {

0 commit comments

Comments
 (0)