libsemanage/tests/tests.yml
Serhii Turivny 7e4d093f54 Add CI tests using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Classic

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml

https://src.fedoraproject.org/rpms/libsemanage/pull-request/2
2017-11-13 16:38:16 +01:00

23 lines
1.0 KiB
YAML

---
# Tests that run in all contexts
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- semanage-handle-functions
- semanage-seuser-functions
- verify-options-in-semanage-conf
required_packages:
- libsemanage # Required for semanage-*-functions tests
- libsemanage-devel # Required for semanage-*-functions tests
- glibc # Required for semanage-*-functions tests
- gcc # Required for semanage-*-functions tests
- libselinux # Required for verify-options-in-semanage-conf
- libselinux-utils # Required for verify-options-in-semanage-conf
- policycoreutils # Required for verify-options-in-semanage-conf
- policycoreutils-python # Required for verify-options-in-semanage-conf when running on RHEL
- selinux-policy # Required for verify-options-in-semanage-conf
- selinux-policy-devel # Required for verify-options-in-semanage-conf