From 3be8c4c38cd886773e6a2ced06ee61bb3d2737c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 20 Sep 2018 18:07:07 +0200 Subject: [PATCH] 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. --- tests/tests.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index ad1cc77..1b15b20 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -8,12 +8,7 @@ repositories: - repo: "https://src.fedoraproject.org/tests/selinux.git" dest: "selinux" - tests: - - selinux/checkpolicy/checkmodule - - selinux/checkpolicy/checkpolicy - - selinux/checkpolicy/checkpolicy-docs - - selinux/checkpolicy/sedismod - - selinux/checkpolicy/sedispol + fmf_filter: "tier:1 | component:checkpolicy" required_packages: - checkpolicy # Required by all tests - man # Required by checkpolicy-docs @@ -27,6 +22,16 @@ - policycoreutils # Required by sedismod - psmisc # Required by sedismod - selinux-policy # Required by sedispol + - e2fsprogs + - gcc + - git + - libselinux + - libselinux-utils + - libsemanage + - libsepol + - libsepol-devel + - policycoreutils-python-utils + - selinux-policy-devel # Tests for Container - hosts: localhost