Skip to content

Commit 0eaca53

Browse files
committed
Swift-build can now link Testing properly
1 parent d8ccb6e commit 0eaca53

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
@@ -1378,13 +1378,11 @@ struct TestCommandTests {
13781378
}
13791379

13801380
@Test(
1381-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
13821381
arguments: SupportedBuildSystemOnAllPlatforms,
13831382
)
13841383
func debuggerFlagWithXCTestSuite(buildSystem: BuildSystemProvider.Kind) async throws {
13851384
try await withKnownIssue(
13861385
"""
1387-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
13881386
Windows: Missing LLDB DLLs w/ ARM64 toolchain
13891387
"""
13901388
) {
@@ -1419,19 +1417,16 @@ struct TestCommandTests {
14191417
)
14201418
}
14211419
} when: {
1422-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1423-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1420+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
14241421
}
14251422
}
14261423

14271424
@Test(
1428-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
14291425
arguments: SupportedBuildSystemOnAllPlatforms
14301426
)
14311427
func debuggerFlagWithSwiftTestingSuite(buildSystem: BuildSystemProvider.Kind) async throws {
14321428
try await withKnownIssue(
14331429
"""
1434-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
14351430
Windows: Missing LLDB DLLs w/ ARM64 toolchain
14361431
"""
14371432
) {
@@ -1466,19 +1461,16 @@ struct TestCommandTests {
14661461
)
14671462
}
14681463
} when: {
1469-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1470-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1464+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
14711465
}
14721466
}
14731467

14741468
@Test(
1475-
.bug(id: 0, "SWBINTTODO: MacOS: Could not find or use auto-linked library 'Testing': library 'Testing' not found"),
14761469
arguments: SupportedBuildSystemOnAllPlatforms
14771470
)
14781471
func debuggerFlagWithBothTestingSuites(buildSystem: BuildSystemProvider.Kind) async throws {
14791472
try await withKnownIssue(
14801473
"""
1481-
MacOS, .swiftbuild: Could not find or use auto-linked library 'Testing': library 'Testing' not found
14821474
Windows: Missing LLDB DLLs w/ ARM64 toolchain
14831475
"""
14841476
) {
@@ -1512,8 +1504,7 @@ struct TestCommandTests {
15121504
)
15131505
}
15141506
} when: {
1515-
(buildSystem == .swiftbuild && ProcessInfo.hostOperatingSystem == .macOS && CiEnvironment.runningInSelfHostedPipeline)
1516-
|| (ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline)
1507+
ProcessInfo.hostOperatingSystem == .windows && CiEnvironment.runningInSelfHostedPipeline
15171508
}
15181509
}
15191510

0 commit comments

Comments
 (0)