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

View File

@ -8,15 +8,7 @@
repositories: repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git" - repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux" dest: "selinux"
tests: fmf_filter: "tier: 1 | component: libselinux"
- 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
required_packages: required_packages:
- libselinux - libselinux
- libselinux-devel - libselinux-devel
@ -27,6 +19,20 @@
- strace - strace
- audit - audit
- e2fsprogs - 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 # Tests to run inside a container
- hosts: localhost - hosts: localhost