From 3d37582bc2d2e43f680af755b913594f07fd2be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 20 Sep 2018 18:40:49 +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 | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index 837b656..86b0ec8 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -8,18 +8,7 @@ repositories: - repo: "https://src.fedoraproject.org/tests/selinux.git" dest: "selinux" - tests: - - 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 + fmf_filter: "tier: 1 | component: policycoreutils" required_packages: - policycoreutils # Required by all tests - policycoreutils-devel # Required by sepolicy-generate @@ -40,6 +29,11 @@ - e2fsprogs # Required by restorecon test - ansible - git + - gcc + - checkpolicy + - libsemanage + - libsepol + - libsepol-devel # Tests for atomic host - hosts: localhost