From fba8d63e99e5b53fbe1a38a8d9bc2929349c6fd4 Mon Sep 17 00:00:00 2001 From: Pavel Simovec Date: Wed, 2 Oct 2024 11:03:38 +0200 Subject: [PATCH] Enable gating & add gating test Resolves: RHEL-52149 --- .fmf/version | 1 + gating.yaml | 7 +++++++ plans/main.fmf | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/main.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..e840633 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..d37cbd4 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,12 @@ +discover: + - name: OpenBLAS-srpm-macros-existence-test + how: shell + tests: + - name: macros-existence-test + test: | + [ "$(rpm --eval '%{openblas_arches}')" != "%{openblas_arches}" ] + require: + - openblas-srpm-macros + duration: 1m +execute: + how: tmt