[llvm] Mark llvm/test/ExecutionEngine and llvm/test/Examples tests as UNSUPPORTED for zOS (PR #190835)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 07:00:38 PDT 2026


https://github.com/bahareh-farhadi updated https://github.com/llvm/llvm-project/pull/190835

>From af6c4b74c03162e2093a782dd479a652ab2e822e Mon Sep 17 00:00:00 2001
From: Bahareh Farhadi <baharehmelodi at yahoo.com>
Date: Tue, 7 Apr 2026 20:02:28 +0000
Subject: [PATCH 1/2] Mark llvm/test/ExecutionEngine and llvm/test/Examples
 tests as UNSUPPORTED for zOS

---
 llvm/test/Examples/lit.local.cfg        | 2 +-
 llvm/test/ExecutionEngine/lit.local.cfg | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index 7ba76509398ab..6bda7f7518fae 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1,4 +1,4 @@
-if not config.include_examples or sys.platform in ["win32", "cygwin", "aix"]:
+if not config.include_examples or sys.platform in ["win32", "cygwin", "aix", "zos"]:
     config.unsupported = True
 
 # Test discovery should ignore subdirectories that contain test inputs.
diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg
index bbffee852e10e..b62654ca436a8 100644
--- a/llvm/test/ExecutionEngine/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/lit.local.cfg
@@ -4,3 +4,6 @@ if config.root.native_target in ['Sparc', 'Hexagon']:
 # ExecutionEngine tests are not expected to pass in a cross-compilation setup.
 if "native" not in config.available_features:
     config.unsupported = True
+
+if sys.platform in ["zos"]:
+    config.unsupported = True

>From 21d63abb5b38756b9c577a8ba9eb9acaf6d26e26 Mon Sep 17 00:00:00 2001
From: Bahareh Farhadi <bahareh.farhadi at ibm.com>
Date: Fri, 10 Apr 2026 14:11:29 +0000
Subject: [PATCH 2/2] use target triple

---
 llvm/test/Examples/lit.local.cfg        | 2 +-
 llvm/test/ExecutionEngine/lit.local.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index 6bda7f7518fae..78bbb3529f8c7 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1,4 +1,4 @@
-if not config.include_examples or sys.platform in ["win32", "cygwin", "aix", "zos"]:
+if not config.include_examples or sys.platform in ["win32", "cygwin", "aix"] or "zos" in config.target_triple:
     config.unsupported = True
 
 # Test discovery should ignore subdirectories that contain test inputs.
diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg
index b62654ca436a8..2de19b4c9c8b1 100644
--- a/llvm/test/ExecutionEngine/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/lit.local.cfg
@@ -5,5 +5,5 @@ if config.root.native_target in ['Sparc', 'Hexagon']:
 if "native" not in config.available_features:
     config.unsupported = True
 
-if sys.platform in ["zos"]:
+if "zos" in config.target_triple:
     config.unsupported = True



More information about the llvm-commits mailing list