Author: Michael Buch Date: 2023-04-24T08:33:07-04:00 New Revision: b767b050414399940f8d7f96e4564a1e5c84879f
URL: https://github.com/llvm/llvm-project/commit/b767b050414399940f8d7f96e4564a1e5c84879f DIFF: https://github.com/llvm/llvm-project/commit/b767b050414399940f8d7f96e4564a1e5c84879f.diff LOG: [lldb][tests] TestPreferredName.py: Fix for older compilers This only works as of D145803, where we re-point the `DW_AT_type` based on existence of `[[clang::preferred_name]]` Added: Modified: lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py Removed: ################################################################################ diff --git a/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py b/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py index ce8be32099711..9c3f0e6a05229 100644 --- a/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py +++ b/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py @@ -11,6 +11,7 @@ class TestPreferredName(TestBase): + @skipIf(compiler="clang", compiler_version=['<', '16.0']) def test_frame_var(self): self.build() lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp")) @@ -26,6 +27,7 @@ def test_frame_var(self): self.expect("frame variable varChar", substrs=["Bar<char>"]) self.expect("frame variable varFooInt", substrs=["Foo<BarInt>"]) + @skipIf(compiler="clang", compiler_version=['<', '16.0']) def test_expr(self): self.build() lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp")) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits