From 80ef1ec6c196c7a1d921a092f1044cf5560b06a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Wed, 31 Jul 2024 14:02:38 +0200 Subject: [PATCH] Add gating and smoke test --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans/main.fmf | 10 ++++++++++ 3 files changed, 17 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..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !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..862a209 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,10 @@ +execute: + how: tmt + +discover: + how: shell + tests: + - name: run help + test: highlight --help + - name: run on one suplied file + test: highlight /usr/share/highlight/plugins/cpp_qt.lua | grep html