Skip to content

Commit 8fcfd64

Browse files
committed
Disable some tests on Windows
1 parent c03482b commit 8fcfd64

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
@@ -1384,7 +1384,8 @@ struct TestCommandTests {
13841384
func debuggerFlagWithXCTestSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13851385
try await withKnownIssue(
13861386
"""
1387-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1387+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1388+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13881389
"""
13891390
) {
13901391
let configuration = BuildConfiguration.debug
@@ -1418,7 +1419,8 @@ struct TestCommandTests {
14181419
)
14191420
}
14201421
} when: {
1421-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1422+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1423+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
14221424
}
14231425
}
14241426

@@ -1429,7 +1431,8 @@ struct TestCommandTests {
14291431
func debuggerFlagWithSwiftTestingSuite(buildSystem: BuildSystemProvider.Kind) async throws {
14301432
try await withKnownIssue(
14311433
"""
1432-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1434+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1435+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
14331436
"""
14341437
) {
14351438
let configuration = BuildConfiguration.debug
@@ -1463,7 +1466,8 @@ struct TestCommandTests {
14631466
)
14641467
}
14651468
} when: {
1466-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1469+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1470+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
14671471
}
14681472
}
14691473

@@ -1474,7 +1478,8 @@ struct TestCommandTests {
14741478
func debuggerFlagWithBothTestingSuites(buildSystem: BuildSystemProvider.Kind) async throws {
14751479
try await withKnownIssue(
14761480
"""
1477-
MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1481+
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
1482+
Windows: Missing LLDB DLLs w/ ARM64 toolchain
14781483
"""
14791484
) {
14801485
let configuration = BuildConfiguration.debug
@@ -1507,7 +1512,8 @@ struct TestCommandTests {
15071512
)
15081513
}
15091514
} when: {
1510-
buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline
1515+
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1516+
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
15111517
}
15121518
}
15131519

0 commit comments

Comments
 (0)