ostree/tests/installed/README.md
Colin Walters 5215f24e68 tests: Merge installed/ and fedora-str/ directories
Let's be opinionated now, and our installed/ test story *is*
Ansible/STR.  Merge `tests/fedora-str` into `tests/installed/`.

Rework the nondestructive tests into a separate playbook run, and parallelize
them for more efficiency.

The destructive tests are also changed to use Ansible more.

Add a higher level `run.sh` entrypoint and update the `README.md`
with some useful tips.

Closes: #1513
Approved by: jlebon
2018-04-05 20:59:23 +00:00

676 B

This directory holds tests that use the Fedora Standard Test Interface.

The high level structure is that we take a qcow2 file, inject built RPMs into it, and then use Ansible to run tests.

See .papr.yml for canonical usage.

For local development, you should cache the qcow2 somewhere stable (outside of this git repo). Also note that ../ci/build-rpms.sh does not pick up uncommitted changes! Stated more strongly, you currently need to run build-rpms.sh after every change.

To run just a specific test, use e.g.: env TEST_SUBJECTS=/path/to/qcow2 ./playbook-run.sh -e tests=.*pull nondestructive.yml