Add gating configuration

This commit is contained in:
Lukas Zachar 2024-01-11 09:47:38 +01:00 committed by Tomáš Hrnčiar
parent 131238fbe3
commit 322a29cbc4
3 changed files with 27 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-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

19
plan.fmf Normal file
View File

@ -0,0 +1,19 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-ply
test: |
cd $(dirname $TMT_SOURCE_DIR/ply-*/test) &&
rm -rf ply* &&
cd test &&
sed -i "s/self.assert_(/self.assertTrue(/" testlex.py &&
sed -i "s/self.assert_(/self.assertTrue(/" testyacc.py &&
sed -i "s/from six.moves.queue import Empty/from queue import Empty/" testcpp.py &&
python3.12 testlex.py &&
python3.12 testyacc.py &&
python3.12 testcpp.py