#3 Use FMF filter instead of listing tests manually
Closed 5 years ago by plautrba. Opened 5 years ago by psss.
rpms/ psss/checkpolicy fmf  into  master

file modified
+11 -6
@@ -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

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.

rebased onto c754801

5 years ago

This is python 2 package which will be dropped soon (in Fedora 30) completely.

I see. Shall the checkpolicy tests be removed from the shared test repository? Or shall we still keep them there for downstream testing?

Thanks, I'll update this.

rebased onto 3be8c4c

5 years ago

Everything passed except for policycoreutils/restorecon.

The failing test has been disabled for now.
One more [citest] please.

Pull-Request has been closed by plautrba

5 years ago