@@ -2845,10 +2845,6 @@ class PackageCommandTestCase: CommandsBuildProviderTestCase {
2845
2845
AssertNotExists ( fixturePath. appending ( components: releaseTarget) )
2846
2846
}
2847
2847
2848
- if self . buildSystemProvider == . swiftbuild && ProcessInfo . hostOperatingSystem != . macOS {
2849
- throw XCTSkip ( " Failed to find dsymutil tool: https://github.com/swiftlang/swift-package-manager/issues/8862 " )
2850
- }
2851
-
2852
2848
// If the plugin requests a release binary, that is what will be built, regardless of overall configuration
2853
2849
try await fixture ( name: " Miscellaneous/Plugins/CommandPluginTestStub " ) { fixturePath in
2854
2850
let _ = try await self . execute ( [ " -c " , " debug " , " build-target " , " build-release " ] , packagePath: fixturePath)
@@ -2880,8 +2876,6 @@ class PackageCommandTestCase: CommandsBuildProviderTestCase {
2880
2876
await XCTAssertAsyncNoThrow ( try await self . execute ( [ " -c " , " debug " , " check-testability " , " InternalModule " , " debug " , " true " ] , packagePath: fixturePath) )
2881
2877
}
2882
2878
2883
- if buildSystemProvider == . swiftbuild && ProcessInfo . hostOperatingSystem != . macOS { throw XCTSkip ( " Failed to find dsymutil tool: https://github.com/swiftlang/swift-package-manager/issues/8862 " ) }
2884
-
2885
2879
// Overall configuration: debug, plugin build request: release -> without testability
2886
2880
try await fixture ( name: " Miscellaneous/Plugins/CommandPluginTestStub " ) { fixturePath in
2887
2881
await XCTAssertAsyncNoThrow ( try await self . execute ( [ " -c " , " debug " , " check-testability " , " InternalModule " , " release " , " false " ] , packagePath: fixturePath) )
@@ -3514,11 +3508,6 @@ class PackageCommandTestCase: CommandsBuildProviderTestCase {
3514
3508
XCTFail ( " unimplemented assertion for --build-system xcode " )
3515
3509
}
3516
3510
XCTAssertMatch ( stdout, . and( . contains( " artifact-kind: " ) , . contains( " executable " ) ) )
3517
- } catch {
3518
- if ProcessInfo . hostOperatingSystem != . macOS && self . buildSystemProvider == . swiftbuild {
3519
- throw XCTSkip ( " Failed to find dsymutil tool: https://github.com/swiftlang/swift-package-manager/issues/8862 " )
3520
- }
3521
- throw error
3522
3511
}
3523
3512
3524
3513
// Invoke the plugin with parameters choosing a verbose build of MyStaticLibrary for release.
@@ -3540,11 +3529,6 @@ class PackageCommandTestCase: CommandsBuildProviderTestCase {
3540
3529
XCTFail ( " unimplemented assertion for --build-system xcode " )
3541
3530
}
3542
3531
XCTAssertMatch ( stdout, . and( . contains( " artifact-kind: " ) , . contains( " staticLibrary " ) ) )
3543
- } catch {
3544
- if ProcessInfo . hostOperatingSystem != . macOS && self . buildSystemProvider == . swiftbuild {
3545
- throw XCTSkip ( " Failed to find dsymutil tool: https://github.com/swiftlang/swift-package-manager/issues/8862 " )
3546
- }
3547
- throw error
3548
3532
}
3549
3533
3550
3534
// Invoke the plugin with parameters choosing a verbose build of MyDynamicLibrary for release.
@@ -3570,11 +3554,6 @@ class PackageCommandTestCase: CommandsBuildProviderTestCase {
3570
3554
XCTFail ( " unimplemented assertion for --build-system xcode " )
3571
3555
}
3572
3556
XCTAssertMatch ( stdout, . and( . contains( " artifact-kind: " ) , . contains( " dynamicLibrary " ) ) )
3573
- } catch {
3574
- if ProcessInfo . hostOperatingSystem != . macOS && self . buildSystemProvider == . swiftbuild {
3575
- throw XCTSkip ( " Failed to find dsymutil tool: https://github.com/swiftlang/swift-package-manager/issues/8862 " )
3576
- }
3577
- throw error
3578
3557
}
3579
3558
}
3580
3559
}
0 commit comments