[clang] [clang][DebugInfo] Disable objective-C tests on AIX and z/OS (PR #154951)

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 22 06:53:18 PDT 2025


https://github.com/daltenty created https://github.com/llvm/llvm-project/pull/154951

These tests don't work due to limitations in backend support, so it's better to mark them uniformly unsupported on AIX and z/OS.

>From c1abb5b70479063250ca94a926605bfe763518cc Mon Sep 17 00:00:00 2001
From: David Tenty <daltenty at ibm.com>
Date: Fri, 22 Aug 2025 09:50:38 -0400
Subject: [PATCH 1/2] [clang][DebugInfo] Disable objective-C tests on AIX and
 z/OS

---
 clang/test/DebugInfo/ObjC/lit.local.cfg | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 clang/test/DebugInfo/ObjC/lit.local.cfg

diff --git a/clang/test/DebugInfo/ObjC/lit.local.cfg b/clang/test/DebugInfo/ObjC/lit.local.cfg
new file mode 100644
index 0000000000000..27170c361b693
--- /dev/null
+++ b/clang/test/DebugInfo/ObjC/lit.local.cfg
@@ -0,0 +1,5 @@
+# objective-C is not supported on AIX and zOS
+unsupported_platforms = [ "system-aix", "system-zos" ]
+
+if any(up in config.available_features for up in unsupported_platforms):
+    config.unsupported = True
\ No newline at end of file

>From db0453b0a692de6eb42f7f412ba2385711124417 Mon Sep 17 00:00:00 2001
From: David Tenty <daltenty at ibm.com>
Date: Fri, 22 Aug 2025 09:51:24 -0400
Subject: [PATCH 2/2] Add newline

---
 clang/test/DebugInfo/ObjC/lit.local.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/DebugInfo/ObjC/lit.local.cfg b/clang/test/DebugInfo/ObjC/lit.local.cfg
index 27170c361b693..b48f68b01581d 100644
--- a/clang/test/DebugInfo/ObjC/lit.local.cfg
+++ b/clang/test/DebugInfo/ObjC/lit.local.cfg
@@ -2,4 +2,4 @@
 unsupported_platforms = [ "system-aix", "system-zos" ]
 
 if any(up in config.available_features for up in unsupported_platforms):
-    config.unsupported = True
\ No newline at end of file
+    config.unsupported = True



More information about the cfe-commits mailing list