From 442544ac1b5a365f6bc7f0c2f76e39a2d6399006 Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Tue, 15 Feb 2022 09:56:31 +0100 Subject: [PATCH] tests: disable libomp plan and test in s390x --- tests/build-gating-libomp.fmf | 6 ++++++ tests/libomp/main.fmf | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/tests/build-gating-libomp.fmf b/tests/build-gating-libomp.fmf index cee2b83..f33a598 100644 --- a/tests/build-gating-libomp.fmf +++ b/tests/build-gating-libomp.fmf @@ -6,10 +6,16 @@ adjust: and trigger != commit and trigger != build enabled: false + - because: "When testing SCL-ized LLVM, the collection must be enabled first" environment+: WITH_SCL: "scl enable llvm-toolset-13.0" when: "collection == llvm-toolset-13.0" + + - because: "libomp not supported in s390x" + when: arch == s390x + enabled: false + discover: how: fmf test: libomp diff --git a/tests/libomp/main.fmf b/tests/libomp/main.fmf index 536527c..230c118 100644 --- a/tests/libomp/main.fmf +++ b/tests/libomp/main.fmf @@ -9,6 +9,10 @@ tag: - not-in-default test: "$WITH_SCL ./test.sh" adjust: + - because: "libomp is not supported in s390x" + when: arch == s390x + enabled: false + # Common requirements when LLVM is not SCL-ized - require: - clang