README.md: add an example for running coverage.py

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-07-26 18:41:49 +02:00
parent 432170c68e
commit 2021f6f7cd
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -137,6 +137,11 @@ By default, `coverage.sh` will skip running a single test which tries creating
a Ubuntu Focal chroot. To not skip that test, run `coverage.sh` with the
environment variable `ONLINE=yes`.
If a test fails you can run individual tests by executing `coverage.py` with
the test name and optionally limit it to a specific distribution like so:
CMD=./mmdebstrap ./coverage.py --dist unstable check-against-debootstrap-dist
Bugs
====