[LLVM][Examples] Fix test requirements Pull Request: https://github.com/llvm/llvm-project/pull/172140
diff --git a/llvm/test/Examples/IRTransforms/lit.local.cfg b/llvm/test/Examples/IRTransforms/lit.local.cfg new file mode 100644 index 0000000..9b5a012 --- /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 0000000..550f0b6 --- /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 0000000..550f0b6 --- /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 e34551c..f937aba 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