Add FMF tests and gating

This commit is contained in:
Petr Písař 2021-05-13 19:03:39 +02:00
parent 37fd5ebffe
commit bf5f3e963e
5 changed files with 22 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:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View File

@ -0,0 +1,5 @@
from Config import *
addFilter("-tests\.noarch: W: no-documentation")
addFilter("-tests\.noarch: W: devel-file-in-non-devel-package")
addFilter("-tests\.noarch: W: hidden-file-or-dir /usr/libexec/")
addFilter("-tests\.noarch: E: zero-length /usr/libexec/")

5
plans/sanity.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

4
tests/upstream-tests.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Upstream tests
component: perl-Alien-Build
require: perl-Alien-Build-tests
test: /usr/libexec/perl-Alien-Build/test