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:40:49 +02:00 committed by Petr Lautrbach
parent 06ebc75d30
commit 3d37582bc2

View File

@ -8,18 +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: policycoreutils"
- selinux/policycoreutils/CIL-modules-without-compilation
- selinux/policycoreutils/semanage-interface
- selinux/policycoreutils/semanage-login
- selinux/policycoreutils/semanage-permissive-d-problems
- selinux/policycoreutils/semanage-port-add-delete-problems
- selinux/policycoreutils/semanage-user
- selinux/policycoreutils/sestatus
- selinux/policycoreutils/linux-system-roles.selinux-tests
- selinux/policycoreutils/selinux-info
- selinux/policycoreutils/booleans
- selinux/policycoreutils/modules
required_packages: required_packages:
- policycoreutils # Required by all tests - policycoreutils # Required by all tests
- policycoreutils-devel # Required by sepolicy-generate - policycoreutils-devel # Required by sepolicy-generate
@ -40,6 +29,11 @@
- e2fsprogs # Required by restorecon test - e2fsprogs # Required by restorecon test
- ansible - ansible
- git - git
- gcc
- checkpolicy
- libsemanage
- libsepol
- libsepol-devel
# Tests for atomic host # Tests for atomic host
- hosts: localhost - hosts: localhost