Preconditions
To start working with a test you need Fedora installed on your PC or VM.
Change user to root:
$ sudo -s
Install necessary packages:
# dnf install git # dnf install ansible python2-dnf libselinux-python standard-test-roles
Get tests
Navigate to the https://upstreamfirst.fedorainfracloud.org/ and choose any package you like to run.
For example elfutils
Navigate to the page with tests:
https://upstreamfirst.fedorainfracloud.org/elfutils
Copy Source GIT URL
Navigate to you VM or laptop command line and clone this package:
# git clone https://upstreamfirst.fedorainfracloud.org/elfutils.git # cd elfutils
Check tags that you have. Execute command:
# ansible-playbook --list-tags tests.yml
The output will be something like tis:
It means that we have container, atomic, classic
tags
So we can run our tests for each of them.
Run classic (local) tests
Now we are ready for running tests on our laptol. Execute command:
# ansible-playbook --tags=classic tests.yml
This command will run all package's tests. And the result will be: