Skip to content

Commit 64fb75e

Browse files
committed
Swift-build can now link Testing properly
1 parent 15ae86c commit 64fb75e

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Tests/CommandsTests/TestCommandTests.swift

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,13 +1296,11 @@ struct TestCommandTests {
12961296
}
12971297

12981298
@Test(
1299-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
13001299
arguments: SupportedBuildSystemOnAllPlatforms,
13011300
)
13021301
func debuggerFlagWithXCTestSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13031302
try await withKnownIssue(
13041303
"""
1305-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
13061304
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13071305
"""
13081306
) {
@@ -1337,19 +1335,16 @@ struct TestCommandTests {
13371335
)
13381336
}
13391337
} when: {
1340-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1341-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1338+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
13421339
}
13431340
}
13441341

13451342
@Test(
1346-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
13471343
arguments: SupportedBuildSystemOnAllPlatforms
13481344
)
13491345
func debuggerFlagWithSwiftTestingSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13501346
try await withKnownIssue(
13511347
"""
1352-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
13531348
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13541349
"""
13551350
) {
@@ -1384,19 +1379,16 @@ struct TestCommandTests {
13841379
)
13851380
}
13861381
} when: {
1387-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1388-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1382+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
13891383
}
13901384
}
13911385

13921386
@Test(
1393-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
13941387
arguments: SupportedBuildSystemOnAllPlatforms
13951388
)
13961389
func debuggerFlagWithBothTestingSuites(buildSystem: BuildSystemProvider.Kind) async throws {
13971390
try await withKnownIssue(
13981391
"""
1399-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
14001392
Windows: Missing LLDB DLLs w/ ARM64 toolchain
14011393
"""
14021394
) {
@@ -1430,8 +1422,7 @@ struct TestCommandTests {
14301422
)
14311423
}
14321424
} when: {
1433-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1434-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1425+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
14351426
}
14361427
}
14371428

0 commit comments

Comments
 (0)