Skip to content

Commit 407ea67

Browse files
authored
Merge pull request #8509 from rintaro/disable-rdar125497260
[lldb] Disable TestSwiftImageLookupPC.py
2 parents 20920cc + 58c7a11 commit 407ea67

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

lldb/test/API/commands/target/modules/swift/TestSwiftImageLookupPC.py

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,14 @@
77

88
class SwiftAddressExpressionTest(TestBase):
99
@swiftTest
10+
@skipIfLinux # rdar://125497260
1011
def test(self):
1112
"""Test that you can use register names in image lookup in a swift frame."""
1213
self.build()
1314
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
14-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
15+
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
1516
# I don't want to be too specific in what we print for image lookup,
1617
# we're testing that the address expression for the pc worked.
1718
self.expect("image lookup -va $pc", substrs=["doSomething"])
1819
self.expect("image lookup -va $pc+4", substrs=["doSomething"])
19-
20-
def test_using_alias(self):
21-
"""Test that you can use register names in image lookup in a swift frame."""
22-
self.build()
23-
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
24-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
25-
# I don't want to be too specific in what we print for image lookup,
26-
# we're testing that the address expression for the pc worked.
27-
self.expect("target modules lookup -va $pc", substrs=["doSomething"])
28-
self.expect("target modules lookup -va $pc+4", substrs=["doSomething"])
29-
30-
def test_using_separate_options(self):
31-
"""Test that you can use register names in image lookup in a swift frame."""
32-
self.build()
33-
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
34-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
35-
# I don't want to be too specific in what we print for image lookup,
36-
# we're testing that the address expression for the pc worked.
37-
self.expect("target modules lookup -v -a $pc", substrs=["doSomething"])
38-
self.expect("target modules lookup -v -a $pc+4", substrs=["doSomething"])
3920

0 commit comments

Comments
 (0)