From 68259514b894ad60cf61cd9260e48236d2894625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Tue, 7 Dec 2021 15:27:03 +0100 Subject: [PATCH] tests: skip PoCL plan/test on RHEL PoCL is not shipped on RHEL. --- tests/build-gating-pocl.fmf | 5 +++++ tests/pocl/main.fmf | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/tests/build-gating-pocl.fmf b/tests/build-gating-pocl.fmf index 82f93b3..e9f5713 100644 --- a/tests/build-gating-pocl.fmf +++ b/tests/build-gating-pocl.fmf @@ -6,6 +6,11 @@ adjust: and trigger != commit and trigger != build enabled: false + + - because: "PoCL is shipped with Fedora, not RHEL" + when: "distro == rhel" + enabled: false + discover: how: fmf test: pocl diff --git a/tests/pocl/main.fmf b/tests/pocl/main.fmf index 92c244a..c1395dc 100644 --- a/tests/pocl/main.fmf +++ b/tests/pocl/main.fmf @@ -3,6 +3,12 @@ # This is separate from tests.yml because we want to run the tests without # clang installed. summary: pocl + +adjust: + - because: "PoCL is shipped with Fedora, not RHEL" + when: "distro == rhel" + enabled: false + # This test requires a special preparation, see `/tests/tests-pocl` plan. As such, # it shouldn't be part of the `/tests/default` plan. tag: