[Lldb-commits] [lldb] [lldb][test] Mark some tests as requiring Clang (PR #214197)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 5 04:09:34 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
As they use clang specific debug information options.
---
Full diff: https://github.com/llvm/llvm-project/pull/214197.diff
3 Files Affected:
- (modified) lldb/test/API/commands/frame/var/TestFrameVar.py (+1)
- (modified) lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py (+4)
- (modified) lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py (+4)
``````````diff
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(
``````````
</details>
https://github.com/llvm/llvm-project/pull/214197
More information about the lldb-commits
mailing list