Skip to content

Commit 58c7a11

Browse files
committed
Revert "Try to figure out why this test is failing on CentOS and no other Linux."
This reverts commit 74ed35a.
1 parent 3100007 commit 58c7a11

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

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

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,9 @@ def test(self):
1212
"""Test that you can use register names in image lookup in a swift frame."""
1313
self.build()
1414
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
15-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
15+
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
1616
# I don't want to be too specific in what we print for image lookup,
1717
# we're testing that the address expression for the pc worked.
1818
self.expect("image lookup -va $pc", substrs=["doSomething"])
1919
self.expect("image lookup -va $pc+4", substrs=["doSomething"])
20-
21-
def test_using_alias(self):
22-
"""Test that you can use register names in image lookup in a swift frame."""
23-
self.build()
24-
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
25-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
26-
# I don't want to be too specific in what we print for image lookup,
27-
# we're testing that the address expression for the pc worked.
28-
self.expect("target modules lookup -va $pc", substrs=["doSomething"])
29-
self.expect("target modules lookup -va $pc+4", substrs=["doSomething"])
30-
31-
def test_using_separate_options(self):
32-
"""Test that you can use register names in image lookup in a swift frame."""
33-
self.build()
34-
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
35-
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
36-
# I don't want to be too specific in what we print for image lookup,
37-
# we're testing that the address expression for the pc worked.
38-
self.expect("target modules lookup -v -a $pc", substrs=["doSomething"])
39-
self.expect("target modules lookup -v -a $pc+4", substrs=["doSomething"])
4020

0 commit comments

Comments
 (0)