[llvm] b5019c2 - [LLVM][Examples] Fix test requirements
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 01:26:20 PST 2025
Author: Alexis Engelke
Date: 2025-12-13T10:26:16+01:00
New Revision: b5019c2de49fda81e4eed5d8b594f73ec74f7fdd
URL: https://github.com/llvm/llvm-project/commit/b5019c2de49fda81e4eed5d8b594f73ec74f7fdd
DIFF: https://github.com/llvm/llvm-project/commit/b5019c2de49fda81e4eed5d8b594f73ec74f7fdd.diff
LOG: [LLVM][Examples] Fix test requirements
Pull Request: https://github.com/llvm/llvm-project/pull/172140
Added:
llvm/test/Examples/IRTransforms/lit.local.cfg
llvm/test/Examples/Kaleidoscope/lit.local.cfg
llvm/test/Examples/OrcV2Examples/lit.local.cfg
Modified:
llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
Removed:
################################################################################
diff --git a/llvm/test/Examples/IRTransforms/lit.local.cfg b/llvm/test/Examples/IRTransforms/lit.local.cfg
new file mode 100644
index 0000000000000..9b5a0124e5f1f
--- /dev/null
+++ b/llvm/test/Examples/IRTransforms/lit.local.cfg
@@ -0,0 +1,2 @@
+if not config.has_plugins:
+ config.unsupported = True
diff --git a/llvm/test/Examples/Kaleidoscope/lit.local.cfg b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
new file mode 100644
index 0000000000000..550f0b64dae6c
--- /dev/null
+++ b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
@@ -0,0 +1,3 @@
+# TODO: investigate
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Examples/OrcV2Examples/lit.local.cfg b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
new file mode 100644
index 0000000000000..550f0b64dae6c
--- /dev/null
+++ b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
@@ -0,0 +1,3 @@
+# TODO: investigate
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test b/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
index e34551c0c2c00..f937abafcb7cd 100644
--- a/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
+++ b/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
@@ -1,7 +1,7 @@
# RUN: OrcV2CBindingsLazy 2>&1 | FileCheck -check-prefix=THIS %s
# RUN: OrcV2CBindingsLazy 0 2>&1 | FileCheck -check-prefix=OTHER %s
-# UNSUPPORTED: target=powerpc64{{.*}}
+# REQUIRES: target={{(x86|x86_64|aarch64|mips(64)?(el)?|loongarch64|riscv64)-.*}}
# THIS: entry(1) = 1
# OTHER: entry(2) = 2
More information about the llvm-commits
mailing list