knot-dns/distro/tests/README.md
Jakub Ružička 965f21b485 CI: add packaging tests using apkg
Tests in distro/pkg/deb/tests/ are symlinked into distro/tests/.

A single templated tests control file distro/tests/extra/all/control
is used to describe test deps on different platforms.

Run tests with:

    apkg test

See distro/tests/README.md for more info.

New CI pkg stage tests

    apkg install --build-dep
    apkg test --test-dep

on apkg CI images.

A single pkg:make-archive job creates archive shared in all pkg jobs.
2022-08-29 19:32:09 +02:00

16 lines
380 B
Markdown

# packaging tests
Debian autopkgtests from `distro/pkg/deb/tests` are reused here
using `apkg test` and symlinks.
To run tests (from project root):
apkg test
See templated tests control: distro/tests/extra/all
To see rendered control (from project root):
apkg test --show-control [--distro debian-11]
See [apkg test docs](https://pkg.labs.nic.cz/pages/apkg/test/).