Skip to content

Commit 128f850

Browse files
committed
[lldb][test] Fix libc++ API tests on older Clang versions
Both of these fail on our Clang-19 macOS bots.
1 parent d09b505 commit 128f850

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def _run_test(self, defines):
5353
# causing this test to fail. This was reverted in newer version of clang
5454
# with commit 52a9ba7ca.
5555
@skipIf(compiler="clang", compiler_version=["=", "17"])
56+
@skipIf(compiler="clang", compiler_version=["=", "18"])
57+
@skipIf(compiler="clang", compiler_version=["=", "19"])
5658
@functools.wraps(LibcxxOptionalDataFormatterSimulatorTestCase._run_test)
5759
def test_method(self, defines=defines):
5860
LibcxxOptionalDataFormatterSimulatorTestCase._run_test(self, defines)

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()

0 commit comments

Comments
 (0)