From 18f49d2c799634b0260fb9a04bb4f7017de0cddf Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Thu, 2 Feb 2023 13:41:57 +0100 Subject: [PATCH] Add tmt gating plan Resolves: rhbz#2159334 --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 17 +++++++++++++++++ 3 files changed, 25 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..2425b59 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,17 @@ +execute: + how: tmt +discover: + how: shell + dist-git-source: true + tests: + - name: bundled tests + require: + - python3.11-ply + - python3.11-six + test: | + cd $(dirname $TMT_SOURCE_DIR/ply-*/test) && + rm -rf ply* && + cd test && + python3.11 testlex.py && + python3.11 testyacc.py && + python3.11 testcpp.py