You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lldb] Skip parts of TestCallOverriddenMethod.py on Linux
The function call and the constructor call fail now several Linux
bots (Swift CI, my own bot and Stella's Debian system), so let's disable
the relevant test parts until we can figure out why it is failing.
Copy file name to clipboardExpand all lines: lldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ def setUp(self):
26
26
# Find the line number to break for main.c.
27
27
self.line=line_number('main.cpp', '// Set breakpoint here')
28
28
29
-
deftest(self):
29
+
deftest_call_on_base(self):
30
30
"""Test calls to overridden methods in derived classes."""
31
31
self.build()
32
32
@@ -42,14 +42,28 @@ def test(self):
42
42
# class method is never an override).
43
43
self.expect("expr b->foo()", substrs=["2"])
44
44
45
+
# Test calling the base class.
46
+
self.expect("expr realbase.foo()", substrs=["1"])
47
+
48
+
@skipIfLinux# Returns wrong result code on some platforms.
49
+
deftest_call_on_derived(self):
50
+
"""Test calls to overridden methods in derived classes."""
0 commit comments