Use FMF filter instead of listing tests manually

There is a new feature in the Standard Test Roles which allows to
use an FMF filter instead of listing all tests manually. All tier
one selinux tests are selected as well, thus extending requires.
This commit is contained in:
Petr Šplíchal 2018-09-20 18:37:40 +02:00 committed by Petr Lautrbach
parent 10b3671015
commit 01586d10b5
1 changed files with 15 additions and 9 deletions

View File

@ -8,15 +8,7 @@
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests:
- selinux/libselinux/getsebool
- selinux/libselinux/realpath_not_final-function
- selinux/libselinux/selabel-functions
- selinux/libselinux/selinux_boolean_sub-function
- selinux/libselinux/selinux_sestatus-functions
- selinux/libselinux/selinux_set_callback
- selinux/libselinux/selinux_restorecon-functions
- selinux/libselinux/setenforce
fmf_filter: "tier: 1 | component: libselinux"
required_packages:
- libselinux
- libselinux-devel
@ -27,6 +19,20 @@
- strace
- audit
- e2fsprogs
- git
- grep
- checkpolicy
- libsemanage
- libsepol
- libsepol-devel
- policycoreutils
- policycoreutils-python-utils
- selinux-policy
- selinux-policy-devel
- selinux-policy-minimum
- selinux-policy-mls
- selinux-policy-targeted
- setools-console
# Tests to run inside a container
- hosts: localhost