[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
This commit is contained in:
Michael Buch 2022-09-27 14:00:24 +01:00
parent d1baed7c9c
commit c97e5adbf7
1 changed files with 3 additions and 1 deletions

View File

@ -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'])])