From 32c4c0d503dc24904544841f00d6c752ca79ec9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 20 Sep 2018 18:39:16 +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, 15 insertions(+), 3 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index 2b03a9c..994830a 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -9,12 +9,24 @@ repositories: - repo: "https://src.fedoraproject.org/tests/selinux.git" dest: "selinux" - - tests: - - selinux/libsepol/sepol_check_context + fmf_filter: "tier: 1 | component: libsepol" required_packages: - gcc - libsepol-devel - policycoreutils - selinux-policy-devel - findutils # beakerlib needs find command + - e2fsprogs + - git + - grep + - checkpolicy + - libselinux + - libselinux-utils + - libsemanage + - libsepol + - policycoreutils-python-utils + - selinux-policy + - selinux-policy-minimum + - selinux-policy-mls + - selinux-policy-targeted + - setools-console