Use shared repository for tests

https://fedoraproject.org/wiki/CI/Share_Test_Code
This commit is contained in:
Petr Lautrbach 2018-02-14 17:10:44 +01:00
parent 02227fd6bc
commit 1fc8681969

View File

@ -5,15 +5,18 @@
- role: standard-test-beakerlib - role: standard-test-beakerlib
tags: tags:
- classic - classic
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests: tests:
- getsebool - selinux/libselinux/getsebool
- realpath_not_final-function - selinux/libselinux/realpath_not_final-function
- selabel-functions - selinux/libselinux/selabel-functions
- selinux_boolean_sub-function - selinux/libselinux/selinux_boolean_sub-function
- selinux_sestatus-functions - selinux/libselinux/selinux_sestatus-functions
- selinux_set_callback - selinux/libselinux/selinux_set_callback
- selinux_restorecon-functions - selinux/libselinux/selinux_restorecon-functions
- setenforce - selinux/libselinux/setenforce
required_packages: required_packages:
- libselinux - libselinux
- libselinux-devel - libselinux-devel
@ -31,8 +34,11 @@
- role: standard-test-beakerlib - role: standard-test-beakerlib
tags: tags:
- container - container
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests: tests:
- realpath_not_final-function - selinux/libselinux/realpath_not_final-function
required_packages: required_packages:
- libselinux - libselinux
- libselinux-devel - libselinux-devel
@ -45,6 +51,9 @@
- role: standard-test-beakerlib - role: standard-test-beakerlib
tags: tags:
- atomic - atomic
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests: tests:
- getsebool - selinux/libselinux/getsebool
- setenforce - selinux/libselinux/setenforce