https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/214197
As they use clang specific debug information options. >From bdffde17cbac6a1c98a00722ad572c6fb13b1266 Mon Sep 17 00:00:00 2001 From: David Spickett <[email protected]> Date: Wed, 5 Aug 2026 11:06:15 +0000 Subject: [PATCH] [lldb][test] Mark some tests as requiring Clang As they use clang specific debug information options. --- lldb/test/API/commands/frame/var/TestFrameVar.py | 1 + .../API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py | 4 ++++ lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/lldb/test/API/commands/frame/var/TestFrameVar.py b/lldb/test/API/commands/frame/var/TestFrameVar.py index 18c67b291c77a..964345bd52878 100644 --- a/lldb/test/API/commands/frame/var/TestFrameVar.py +++ b/lldb/test/API/commands/frame/var/TestFrameVar.py @@ -170,6 +170,7 @@ def test_darwin_dwarf_obj_mod_time_mismatch(self): @skipIfRemote @skipIfWindows # Windows can't set breakpoints by name 'main' in this case. + @skipIf(compiler=no_match("clang")) def test_gline_tables_only(self): """ Test that if we build a binary with "-gline-tables-only" that we can diff --git a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py index 94923046e0ba4..a27c3e5a3ddb3 100644 --- a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py +++ b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py @@ -17,6 +17,7 @@ class AbiTagStructorsTestCase(TestBase): compiler_version=["<", "22"], bugnumber="Required Clang flag not supported", ) + @skipIf(compiler=no_match("clang")) @expectedFailureAll(oslist=["windows"]) @skipIfWasm # no expression evaluation def test_with_structor_linkage_names(self): @@ -76,6 +77,7 @@ def test_with_structor_linkage_names(self): ) @expectedFailureAll(oslist=["windows"]) + @skipIf(compiler=no_match("clang")) def test_no_structor_linkage_names(self): """ Test that without linkage names on structor declarations we can't call @@ -123,12 +125,14 @@ def do_nested_structor_test(self): ) @skipIf(compiler="clang", compiler_version=["<", "22"]) + @skipIf(compiler=no_match("clang")) @expectedFailureAll(oslist=["windows"]) @skipIfWasm # no expression evaluation def test_nested_with_structor_linkage_names(self): self.build(dictionary={"CXXFLAGS_EXTRAS": "-gstructor-decl-linkage-names"}) self.do_nested_structor_test() + @skipIf(compiler=no_match("clang")) @expectedFailureAll(oslist=["windows"]) @skipIfWasm # no expression evaluation def test_nested_no_structor_linkage_names(self): diff --git a/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py b/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py index 83a776fc1735d..4f21c69e890cc 100644 --- a/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py +++ b/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py @@ -23,6 +23,7 @@ def do_test(self, extra_flags): self.expect_expr("cbf1", result_type="Container<int>") @skipIf(compiler="clang", compiler_version=["<", "21"]) + @skipIf(compiler=no_match("clang")) @expectedFailureAll( bugnumber="LLDB doesn't reconstruct template alias names from template parameters" ) @@ -32,6 +33,7 @@ def test_tag_alias_simple(self): ) @skipIf(compiler="clang", compiler_version=["<", "21"]) + @skipIf(compiler=no_match("clang")) def test_tag_alias_no_simple(self): self.do_test( dict( @@ -40,6 +42,7 @@ def test_tag_alias_no_simple(self): ) @skipIf(compiler="clang", compiler_version=["<", "21"]) + @skipIf(compiler=no_match("clang")) def test_no_tag_alias_simple(self): self.do_test( dict( @@ -48,6 +51,7 @@ def test_no_tag_alias_simple(self): ) @skipIf(compiler="clang", compiler_version=["<", "21"]) + @skipIf(compiler=no_match("clang")) def test_no_tag_alias_no_simple(self): self.do_test( dict( _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
