knot-resolver/tests
Jakub Ružička b47a6bc76c tests: replace standard-test-rpm with -basic
Currently, tests fail with

    TASK [standard-test-rpm : Install the test subject RPMs] ***********************
    fatal: [/workDir/workspace/fedora-rawhide-pr-pipeline/images/test_subject.qcow2]: FAILED! =>
      msg: '''subjects'' is undefined'

'subjects' should be a list of RPMs to install but it looks undefined
in fedora-rawhide-pr-pipeline.

Try replacing this with standard-test-basic as seen in Fedora CI docs:

https://docs.fedoraproject.org/en-US/ci/how-to-add-dist-git-test/

Same doc describes standard-test-rpm as "A role for installing
additional rpms" which I don't think is the use case here.
2020-10-06 13:14:03 +02:00
..
scripts tests: replace standard-test-rpm with -basic 2020-10-06 13:14:03 +02:00
README.md tests: replace standard-test-rpm with -basic 2020-10-06 13:14:03 +02:00
tests.yml tests: replace standard-test-rpm with -basic 2020-10-06 13:14:03 +02:00

Package tests

These tests implement the standard test interface in Fedora CI. See https://docs.fedoraproject.org/en-US/ci/tests/ for details.

Manual execution

Run the following command on your machine. Please note, it will make modifications to your system. It's best to run these on a clean, throw-away testing system or a VM.

ansible-playbook tests/tests.yml -e subjects=/path/to/knot-resolver.rpm -e artifacts=/path/to/artifacts