[Lldb-commits] [lldb] d08d9cf - [lldb][test] TestVTableValue.py: skip base_class_ptr test case on older Clang versions
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 6 21:18:43 PST 2023
Author: Michael Buch
Date: 2023-11-07T05:18:23Z
New Revision: d08d9cf55629a300a54ab1660912b044145540f1
URL: https://github.com/llvm/llvm-project/commit/d08d9cf55629a300a54ab1660912b044145540f1
DIFF: https://github.com/llvm/llvm-project/commit/d08d9cf55629a300a54ab1660912b044145540f1.diff
LOG: [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
```
Added:
Modified:
lldb/test/API/functionalities/vtable/TestVTableValue.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/vtable/TestVTableValue.py b/lldb/test/API/functionalities/vtable/TestVTableValue.py
index ff1dc7a6cdba189..e4db0666dc1b292 100644
--- a/lldb/test/API/functionalities/vtable/TestVTableValue.py
+++ b/lldb/test/API/functionalities/vtable/TestVTableValue.py
@@ -75,6 +75,7 @@ def test_vtable(self):
for (idx, vtable_entry) in enumerate(vtable.children):
self.verify_vtable_entry(vtable_entry, vtable_addr, idx)
+ @skipIf(compiler="clang", compiler_version=["<", "9.0"])
@skipUnlessPlatform(["linux", "macosx"])
def test_base_class_ptr(self):
self.build()
More information about the lldb-commits
mailing list