Re: using package tests
debci tests are run in a chroot.
But for testing locally (i.e. simply running the tests), you can invoke
autopkgtest -B -- null
It may give some differences from a chroot run depending on what else
you've got installed on your system, but it saves the hassle of
maintaining a chroot.
On 2020-04-18 01:59, Mark Olesen wrote:
I started looking at package tests and some of tutorial information
As usual, there is lots of information, but not really sure what is
the most applicable. These tests, for example,
Which particular invocation of autopkgtest would be used for these?
It looks like they are testing on the installed package, or is there a
chroot hidden somewhere and they actually run with the built
Since the included tests are very similar, I wanted to wrap them in a
simple "AutoTest" utility in the upstream. However, I'm not sure which
environment or other conditions are passed in there.
Any help would be appreciated.