|
7 | 7 |
|
8 | 8 | class SwiftAddressExpressionTest(TestBase):
|
9 | 9 | @swiftTest
|
| 10 | + @skipIfLinux # rdar://125497260 |
10 | 11 | def test(self):
|
11 | 12 | """Test that you can use register names in image lookup in a swift frame."""
|
12 | 13 | self.build()
|
13 | 14 | (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")) |
15 | 16 | # I don't want to be too specific in what we print for image lookup,
|
16 | 17 | # we're testing that the address expression for the pc worked.
|
17 | 18 | self.expect("image lookup -va $pc", substrs=["doSomething"])
|
18 | 19 | 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"]) |
39 | 20 |
|
0 commit comments