> I have one question : all the examples in the part of the tutorial
> for setting up the development environment (i.e sudo apt-get install
> rerun ruby-foreman apt-cacher-ng | 
> moreutils lighttpd rabbitmq-server) are relative to the specific
> package of 'rubby'? So when i want to set up the environment for
> running test in another package i will have to change these
> commands accordingly?

I suspect apt-cacher-ng is in there as a performance enhancement.

apt-cacher-ng can help speed frequent rebuilding of packages because it
can download and store locally packages.

When you're first starting to test build an application you'd do:

apt source <package name>
apt build-dep <package name>
cd <package directory>
dpkg-buildpackage

(with the stretch release they added apt as an improvement to apt-get)

Debian maintianers will usually build packages in a temporary
environment using tools like pbuilder or sbuild. Those tools automate
extracting the package, installing the dependencies, building, and
running tests. It's just a bit of work to get them setup.

And it looks like autopkgtest expects to be running in a temporary
build environment so it can install things and change the system
configuration.

Hope that helps
Diane

Reply via email to