Skip to content

Commit

Permalink
[lldb][test] TestConstStaticIntegralMember.py: un-XFAIL tests for DWA…
Browse files Browse the repository at this point in the history
…RFv5
  • Loading branch information
Michael137 committed Dec 7, 2023
1 parent 76b8975 commit 7de53a8
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test(self):

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

@expectedFailureAll(dwarf_version=["<", "5"])
# On linux this passes due to the manual index
@expectedFailureDarwin(debug_info=no_match(["dsym"]))
def test_inline_static_members(self):
self.build()
lldbutil.run_to_source_breakpoint(
Expand Down Expand Up @@ -167,6 +170,9 @@ def test_class_with_only_constexpr_static(self):
"ClassWithEnumAlias::enum_alias_alias", result_value="scoped_enum_case1"
)

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

0 comments on commit 7de53a8

Please sign in to comment.