mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-04-29 10:19:01 -04:00
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.
16 lines
380 B
Markdown
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/).
|