From 727ffcccf63a3fe5f0799187e14f29016a0d45db Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Fri, 12 Jan 2024 18:48:17 +0100 Subject: [PATCH] Add tmt gating plan Cherry-picked from python3.11-cffi 015ff1aef5962fe68b79402c358ac8e0491d87d3 https://gitlab.com/redhat/centos-stream/rpms/python3.11-cffi/-/commit/015ff1aef5962fe68b79402c358ac8e0491d87d3 --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan.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..a77f895 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..9ad58d8 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,18 @@ +execute: + how: tmt +discover: + how: shell + dist-git-source: true + tests: + - name: bundled tests + require: + - python3.12-pytest + - python3.12-cffi + - python3.12-devel + - python3.12-setuptools + - patch + - gcc-c++ + test: | + cd $(dirname $TMT_SOURCE_DIR/cffi-*/testing) && + rm -rf cffi* && + pytest-3.12 testing/cffi0