[Lldb-commits] [lldb] [LLDB] Mark some objective-C and ClangModule test as darwin only (PR #228653)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 2 20:57:10 PDT 2026


https://github.com/aokblast created https://github.com/llvm/llvm-project/pull/228653

This makes easier to fix FreeBSD

>From 3b0962fb25682023781a3912f2021c5c9c91876c Mon Sep 17 00:00:00 2001
From: ShengYi Hung <aokblast at FreeBSD.org>
Date: Fri, 2 Oct 2026 22:54:52 -0500
Subject: [PATCH] [LLDB] Mark some objective-C and ClangModule test as darwin
 only

This makes easier to fix FreeBSD
---
 lldb/test/Shell/Expr/TestClangModulesDeclLookup.test | 4 +---
 lldb/test/Shell/Expr/TestEnumExtensibility.m         | 2 +-
 lldb/test/Shell/Expr/TestObjCInCXXContext.test       | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/lldb/test/Shell/Expr/TestClangModulesDeclLookup.test b/lldb/test/Shell/Expr/TestClangModulesDeclLookup.test
index a5eb4d626e524bc..c5880412a5d7b9c 100644
--- a/lldb/test/Shell/Expr/TestClangModulesDeclLookup.test
+++ b/lldb/test/Shell/Expr/TestClangModulesDeclLookup.test
@@ -1,6 +1,4 @@
-# XFAIL: target-windows
-# XFAIL: system-linux
-# XFAIL: system-windows && remote-linux
+# REQUIRES: system-darwin
 
 # Test that we can successfully locate decls in Clang modules for C++.
 
diff --git a/lldb/test/Shell/Expr/TestEnumExtensibility.m b/lldb/test/Shell/Expr/TestEnumExtensibility.m
index 738b4fa2c778699..89ec4e09b36ea9d 100644
--- a/lldb/test/Shell/Expr/TestEnumExtensibility.m
+++ b/lldb/test/Shell/Expr/TestEnumExtensibility.m
@@ -1,4 +1,4 @@
-// UNSUPPORTED: system-linux, system-windows
+// REQUIRES: system-darwin
 
 // RUN: %clangxx_host %s -c -g -o %t
 // RUN: %lldb %t \
diff --git a/lldb/test/Shell/Expr/TestObjCInCXXContext.test b/lldb/test/Shell/Expr/TestObjCInCXXContext.test
index f8cad5b58a1e531..cff321a76d792c2 100644
--- a/lldb/test/Shell/Expr/TestObjCInCXXContext.test
+++ b/lldb/test/Shell/Expr/TestObjCInCXXContext.test
@@ -1,4 +1,4 @@
-// UNSUPPORTED: system-linux, system-windows
+// REQUIRES: system-darwin
 
 // Tests that we don't consult the the Objective-C runtime
 // plugin when in a purely C++ context.



More information about the lldb-commits mailing list