Skip to content

Commit d9dd06b

Browse files
committed
Disable some tests on Windows
1 parent f186fcd commit d9dd06b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Tests/CommandsTests/TestCommandTests.swift

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,8 @@ struct TestCommandTests {
13021302
func debuggerFlagWithXCTestSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13031303
try await withKnownIssue(
13041304
"""
1305-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1305+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1306+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13061307
"""
13071308
) {
13081309
let configuration = BuildConfiguration.debug
@@ -1336,7 +1337,8 @@ struct TestCommandTests {
13361337
)
13371338
}
13381339
} when: {
1339-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1340+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1341+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
13401342
}
13411343
}
13421344

@@ -1347,7 +1349,8 @@ struct TestCommandTests {
13471349
func debuggerFlagWithSwiftTestingSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13481350
try await withKnownIssue(
13491351
"""
1350-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1352+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1353+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13511354
"""
13521355
) {
13531356
let configuration = BuildConfiguration.debug
@@ -1381,7 +1384,8 @@ struct TestCommandTests {
13811384
)
13821385
}
13831386
} when: {
1384-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1387+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1388+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
13851389
}
13861390
}
13871391

@@ -1392,7 +1396,8 @@ struct TestCommandTests {
13921396
func debuggerFlagWithBothTestingSuites(buildSystem: BuildSystemProvider.Kind) async throws {
13931397
try await withKnownIssue(
13941398
"""
1395-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1399+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1400+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13961401
"""
13971402
) {
13981403
let configuration = BuildConfiguration.debug
@@ -1425,7 +1430,8 @@ struct TestCommandTests {
14251430
)
14261431
}
14271432
} when: {
1428-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1433+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1434+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
14291435
}
14301436
}
14311437

0 commit comments

Comments
 (0)