Skip to content

Commit 42b608c

Browse files
committed
[lldb] Skip tests on older versions of clang
1 parent d4ca474 commit 42b608c

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TestWeakSymbolsInExpressions(TestBase):
1515
NO_DEBUG_INFO_TESTCASE = True
1616

1717
@skipUnlessDarwin
18-
@skipIf(compiler="clang", compiler_version=["<", "7.0"])
18+
@skipIf(compiler="clang", compiler_version=["<", "19.0"])
1919
def test_weak_symbol_in_expr(self):
2020
"""Tests that we can refer to weak symbols in expressions."""
2121
self.build()

lldb/test/API/lang/cpp/libcxx-internals-recognizer/TestLibcxxInternalsRecognizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class LibCxxInternalsRecognizerTestCase(TestBase):
99
NO_DEBUG_INFO_TESTCASE = True
1010

1111
@add_test_categories(["libc++"])
12-
@skipIf(compiler="clang", compiler_version=["<=", "19.0"])
12+
@skipIf(compiler="clang", compiler_version=["<", "19.0"])
1313
def test_frame_recognizer(self):
1414
"""Test that implementation details of libc++ are hidden"""
1515
self.build()

lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def setUp(self):
1616
self.line = line_number("main.m", "// Set breakpoint 0 here.")
1717

1818
@skipIf(macos_version=["<", "10.12"])
19+
@skipIf(compiler="clang", compiler_version=["<", "19.0"])
1920
def test_expr(self):
2021
self.build()
2122
exe = self.getBuildArtifact("a.out")

lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
class TestCase(TestBase):
88
@no_debug_info_test
9+
@skipIf(compiler="clang", compiler_version=["<", "19.0"])
910
def test_conflicting_properties(self):
1011
"""Tests receiving two properties with the same name from modules."""
1112
self.build()

0 commit comments

Comments
 (0)