Skip to content

Commit 7de53a8

Browse files
committed
[lldb][test] TestConstStaticIntegralMember.py: un-XFAIL tests for DWARFv5
1 parent 76b8975 commit 7de53a8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test(self):
104104

105105
# dsymutil strips the debug info for classes that only have const static
106106
# data members without locations.
107-
@expectedFailureAll(debug_info=["dsym"])
107+
@expectedFailureAll(debug_info=["dsym"], dwarf_version=["<", "5"])
108108
def test_class_with_only_const_static(self):
109109
self.build()
110110
lldbutil.run_to_source_breakpoint(
@@ -120,6 +120,9 @@ def check_global_var(self, name: str, expect_type, expect_val):
120120
self.assertEqual(varobj.type.name, expect_type)
121121
self.assertEqual(varobj.value, expect_val)
122122

123+
@expectedFailureAll(dwarf_version=["<", "5"])
124+
# On linux this passes due to the manual index
125+
@expectedFailureDarwin(debug_info=no_match(["dsym"]))
123126
def test_inline_static_members(self):
124127
self.build()
125128
lldbutil.run_to_source_breakpoint(
@@ -167,6 +170,9 @@ def test_class_with_only_constexpr_static(self):
167170
"ClassWithEnumAlias::enum_alias_alias", result_value="scoped_enum_case1"
168171
)
169172

173+
@expectedFailureAll(dwarf_version=["<", "5"])
174+
# On linux this passes due to the manual index
175+
@expectedFailureDarwin(debug_info=no_match(["dsym"]))
170176
def test_shadowed_static_inline_members(self):
171177
"""Tests that the expression evaluator and SBAPI can both
172178
correctly determine the requested inline static variable

0 commit comments

Comments
 (0)