From 01586d10b5f6097d34d1a59a7eb84d983f890f94 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Oct 02 2018 11:24:53 +0000 Subject: 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. --- diff --git a/tests/tests.yml b/tests/tests.yml index eae9a66..46e4c5f 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -8,15 +8,7 @@ repositories: - repo: "https://src.fedoraproject.org/tests/selinux.git" dest: "selinux" - tests: - - 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 + fmf_filter: "tier: 1 | component: libselinux" required_packages: - libselinux - libselinux-devel @@ -27,6 +19,20 @@ - strace - audit - 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 - hosts: localhost