From d829dcc29b6abed72dfefb4235e0d2ce0881a79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= Date: Thu, 27 Oct 2022 13:41:24 +0200 Subject: [PATCH] Add tests to gating --- .fmf/version | 1 + gating.yaml | 7 +++++++ perl-IO-HTML.spec | 5 ++++- plans/sanity.fmf | 5 +++++ tests/upstream-tests.fmf | 4 ++++ 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/sanity.fmf create mode 100644 tests/upstream-tests.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..282e16b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/perl-IO-HTML.spec b/perl-IO-HTML.spec index d1ea35e..97e9db2 100644 --- a/perl-IO-HTML.spec +++ b/perl-IO-HTML.spec @@ -1,6 +1,6 @@ Name: perl-IO-HTML Version: 1.004 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Open an HTML file with automatic character set detection # examples/detect-encoding.pl: Public Domain License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Fedora-Public-Domain @@ -80,6 +80,9 @@ make test %{_libexecdir}/%{name} %changelog +* Thu Oct 27 2022 Michal Josef Špaček - 1.004-9 +- Add tests to gating + * Thu Oct 27 2022 Michal Josef Špaček - 1.004-8 - Package tests - Update license to SPDX format diff --git a/plans/sanity.fmf b/plans/sanity.fmf new file mode 100644 index 0000000..a72ded4 --- /dev/null +++ b/plans/sanity.fmf @@ -0,0 +1,5 @@ +summary: Sanity tests +discover: + how: fmf +execute: + how: tmt diff --git a/tests/upstream-tests.fmf b/tests/upstream-tests.fmf new file mode 100644 index 0000000..bed7501 --- /dev/null +++ b/tests/upstream-tests.fmf @@ -0,0 +1,4 @@ +summary: Upstream tests +component: perl-IO-HTML +require: perl-IO-HTML-tests +test: /usr/libexec/perl-IO-HTML/test