Add tmt gating plan

Resolves: rhbz#2159308
This commit is contained in:
Lukas Zachar 2023-02-03 15:41:42 +01:00 committed by Charalampos Stratakis
parent 4bc1017003
commit 015ff1aef5
3 changed files with 30 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

22
plan.fmf Normal file
View File

@ -0,0 +1,22 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.11-pytest
- python3.11-cffi
- python3.11-devel
- python3.11-pip
- patch
- gcc-c++
test: |
pip3.11 install py==1.11.0 &&
cd $(dirname $TMT_SOURCE_DIR/cffi-*/testing) &&
patch -p1 < $TMT_TREE/113.patch &&
patch -p1 < $TMT_TREE/115.patch &&
patch -p1 < $TMT_TREE/116.patch &&
rm -rf cffi* testing/cffi0/test_version.py &&
pytest-3.11 testing/cffi0