Skip to content

Commit db6953e

Browse files
committed
[lldb][swift] Disable tests that use the system dsymutil by accident
These tests seem to use the system dsymutil as they just invoke swiftc (which then runs the dsymutil it finds for us). Some bots seem to have a broken dsymutil so these tests fail now on those systems. See rdar://72148156
1 parent 28455b0 commit db6953e

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lldb/test/API/lang/swift/clangimporter/static_archive/TestSwiftStaticArchiveTwoSwiftmodules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def setUp(self):
2727
# Don't run ClangImporter tests if Clangimporter is disabled.
2828
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
2929
@skipUnlessDarwin
30+
@skipIf # Makefile uses system dsymutil (which might not work): rdar://72148156
3031
@swiftTest
3132
def test(self):
3233
self.build()

lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class TestSwiftDeploymentTarget(TestBase):
2323

2424
mydir = TestBase.compute_mydir(__file__)
2525

26+
@skipIf # Makefile uses system dsymutil (which might not work): rdar://72148156
2627
@skipIf(bugnumber="rdar://60396797", # should work but crashes.
2728
setting=('symbols.use-swift-clangimporter', 'false'))
2829
@skipUnlessDarwin
@@ -37,6 +38,7 @@ def test_swift_deployment_target(self):
3738
lldb.SBFileSpec('main.swift'))
3839
self.expect("p f", substrs=['i = 23'])
3940

41+
@skipIf # Makefile uses system dsymutil (which might not work): rdar://72148156
4042
@skipIf(bugnumber="rdar://60396797", # should work but crashes.
4143
setting=('symbols.use-swift-clangimporter', 'false'))
4244
@skipUnlessDarwin

lldb/test/API/lang/swift/missing_sdk/TestMissingSDK.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def setUp(self):
1919
# Call super's setUp().
2020
TestBase.setUp(self)
2121

22+
@skipIf # Makefile uses system dsymutil (which might not work): rdar://72148156
2223
@swiftTest
2324
@skipIf(oslist=['windows'])
2425
@skipIfDarwinEmbedded # swift crash inspecting swift stdlib with little other swift loaded <rdar://problem/55079456>

0 commit comments

Comments
 (0)