[Lldb-commits] [lldb] [LLDB] Skip test with older versions of clang (PR #200456)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri May 29 09:50:43 PDT 2026


https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/200456

None

>From 2435074667279db64757bae9ba78d179747553a5 Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl at apple.com>
Date: Fri, 29 May 2026 09:49:36 -0700
Subject: [PATCH] [LLDB] Skip test with older versions of clang

---
 .../lang/objc/modules-auto-import/TestModulesAutoImport.py    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py b/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
index bc75e7b7bc02f..93b7f528f5c62 100644
--- a/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
+++ b/lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
@@ -11,7 +11,7 @@ class ObjCModulesAutoImportTestCase(TestBase):
     SHARED_BUILD_TESTCASE = False
 
     @skipIf(macos_version=["<", "10.12"])
-    @skipIf(compiler="clang", compiler_version=["<", "19.0"])
+    @skipIf(compiler="clang", compiler_version=["<", "20.0"])
     def test_expr(self):
         self.build()
         lldbutil.run_to_source_breakpoint(
@@ -22,7 +22,7 @@ def test_expr(self):
         self.expect_expr("getpid()", result_type="pid_t")
 
     @skipIf(macos_version=["<", "10.12"])
-    @skipIf(compiler="clang", compiler_version=["<", "19.0"])
+    @skipIf(compiler="clang", compiler_version=["<", "20.0"])
     def test_expr_no_sysroot(self):
         self.build(dictionary={"TEST_EXTRA_FLAGS": f"-fno-debug-record-sysroot"})
         lldbutil.run_to_source_breakpoint(



More information about the lldb-commits mailing list