[Lldb-commits] [lldb] 34bf9dd - [lldb][test] TestConstStaticIntegralMember.py: fix XFAIL decorators
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 8 04:09:34 PST 2024
Author: Michael Buch
Date: 2024-11-08T12:07:34Z
New Revision: 34bf9dd6d39cb2bf75731cea7a26c3563720cb67
URL: https://github.com/llvm/llvm-project/commit/34bf9dd6d39cb2bf75731cea7a26c3563720cb67
DIFF: https://github.com/llvm/llvm-project/commit/34bf9dd6d39cb2bf75731cea7a26c3563720cb67.diff
LOG: [lldb][test] TestConstStaticIntegralMember.py: fix XFAIL decorators
The `compiler` parameter is not supported in the `expectedFailureDarwin`
decorator.
Change the decorator to `expectedFailureAll`, which is fine because
this only affects the `dsym` variant (which is only a macOS variant).
Added:
Modified:
lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
Removed:
################################################################################
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 1584d48e8e2d70..c79cf19f36aafd 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
@@ -146,7 +146,7 @@ def check_inline_static_members(self, flags):
@skipIfWindows
# On linux this passes due to the manual index
@expectedFailureDarwin(debug_info=no_match(["dsym"]))
- @expectedFailureDarwin(debug_info=["dsym"], compiler=["clang"], compiler_version=["<", "19.0"])
+ @expectedFailureAll(debug_info=["dsym"], compiler=["clang"], compiler_version=["<", "19.0"])
def test_inline_static_members_dwarf5(self):
self.check_inline_static_members("-gdwarf-5")
@@ -200,7 +200,7 @@ def check_shadowed_static_inline_members(self, flags):
@skipIfWindows
# On linux this passes due to the manual index
@expectedFailureDarwin(debug_info=no_match(["dsym"]))
- @expectedFailureDarwin(debug_info=["dsym"], compiler=["clang"], compiler_version=["<", "19.0"])
+ @expectedFailureAll(debug_info=["dsym"], compiler=["clang"], compiler_version=["<", "19.0"])
def test_shadowed_static_inline_members_dwarf5(self):
self.check_shadowed_static_inline_members("-gdwarf-5")
More information about the lldb-commits
mailing list