From 7de53a8cfe45f60334dc3765c0bfc94beaf09883 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 7 Dec 2023 11:12:49 +0000 Subject: [PATCH] [lldb][test] TestConstStaticIntegralMember.py: un-XFAIL tests for DWARFv5 --- .../TestConstStaticIntegralMember.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py index 60e116b422077..cdade2d335df0 100644 --- a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py +++ b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py @@ -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( @@ -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( @@ -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