diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2022-09-27 14:00:24 +0100 |
|---|---|---|
| committer | Michael Buch <michaelbuch12@gmail.com> | 2022-09-27 14:09:12 +0100 |
| commit | c97e5adbf7c44ba5c46ec14712d3d8ee8b45aac9 (patch) | |
| tree | a1ac0ab593c13e6ffce7b00fbbe5f93dca494fed /lldb/test/API/python_api | |
| parent | d1baed7c9c8341c43c696cce1b7ec846c21b0b45 (diff) | |
| download | llvm-c97e5adbf7c44ba5c46ec14712d3d8ee8b45aac9.zip llvm-c97e5adbf7c44ba5c46ec14712d3d8ee8b45aac9.tar.gz llvm-c97e5adbf7c44ba5c46ec14712d3d8ee8b45aac9.tar.bz2 | |
[lldb][test] Disable TestSBValueUnsignedEnumBitField.py for old DWARF versions
With older DWARF versions we don't encode the enum's underlying
type in DWARF. In those cases LLDB sign-extends the bitfield as
a signed integer. Without the actual enum type being present in
DWARF there's not much we can do.
Differential Revision: https://reviews.llvm.org/D134734
Diffstat (limited to 'lldb/test/API/python_api')
| -rw-r--r-- | lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py b/lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py index eb01fd6..e2e1118 100644 --- a/lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py +++ b/lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py @@ -14,5 +14,7 @@ for this not to happen. """ import lldbsuite.test.lldbinline as lldbinline +from lldbsuite.test.decorators import * -lldbinline.MakeInlineTest(__file__, globals()) +lldbinline.MakeInlineTest(__file__, globals(), + [skipIf(dwarf_version=['<', '3'])]) |
