Re: Automated checks for correct ‘build’ and ‘clean’ behaviour
Ben Finney wrote:
> Howdy mentors,
> I've seen some discussion around the topic of Debian packages which
> don't clean properly in their ‘clean’ target, and others that fail if
> the ‘build’ target is invoked twice in succession.
> Are there automated checks one can invoke on a local machine to make
> sure a package behaves properly in these respects? Perhaps using a
> ‘pbuilder’ environment?
If you rebuild a package twice in a row (source and binary builds) and compare
the .diff.gz, or if the second build fails then you will find some of those
bugs. pbuilder support hook scripts which can help you do most of the stuff
automagically (once coded, of course).
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net