Skip to content

Commit d08d9cf

Browse files
committed
[lldb][test] TestVTableValue.py: skip base_class_ptr test case on older Clang versions
This failed on the public LLDB matrix build bots on Clang versions < 9.0: ``` ====================================================================== FAIL: test_base_class_ptr (TestVTableValue.TestVTableValue) ---------------------------------------------------------------------- Traceback (most recent call last): File "lldb/test/API/functionalities/vtable/TestVTableValue.py", line 90, in test_base_class_ptr self.assertEquals(shape_ptr_vtable.GetNumChildren(), 5) AssertionError: 6 != 5 ```
1 parent 407afbf commit d08d9cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/functionalities/vtable/TestVTableValue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def test_vtable(self):
7575
for (idx, vtable_entry) in enumerate(vtable.children):
7676
self.verify_vtable_entry(vtable_entry, vtable_addr, idx)
7777

78+
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
7879
@skipUnlessPlatform(["linux", "macosx"])
7980
def test_base_class_ptr(self):
8081
self.build()

0 commit comments

Comments
 (0)