DEP8 tests using the built package source

Stephen Kitt skitt at debian.org
Wed Mar 19 22:25:46 UTC 2014


On Tue, 18 Mar 2014 12:01:18 +0100, Martin Pitt <mpitt at debian.org> wrote:
> Antonio Terceiro [2014-03-17  9:59 -0300]:
> > On Sun, Mar 16, 2014 at 11:27:06PM +0100, Stephen Kitt wrote:
> FTR, we explicitly make use of that for our toolchain packages: gcc,
> binutils, linux, and eglibc have a "bin/true" test with "needs build"
> to ensure that whenever we update one piece, the others are still
> buildable and their tests succeed (which run at build time). I know
> that this is somewhat of an abuse of autopkgtest, but it does work :-)

So effectively it becomes a "rebuild reverse-dependencies" tool as well,
nice! (Although I do agree with the abuse part.)

> > > Wouldn't it make sense to change DEP8 to encourage building
> > > whatever is strictly required for the tests, and perhaps drop
> > > "build-needed" altogether?
> 
> I wouldn't want to drop build-needed, as it only complicates things
> for the cases where people want it. But I'm happy to add a stanza to
> its documentation to avoid it for packages which take a nontrivial
> amount of time to build; does that sound like an acceptable
> compromise?

It does indeed, with Jakub's idea of copying only the required code to
$ADTTMP too.

Thanks,

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20140319/3fd9a804/attachment.sig>


More information about the autopkgtest-devel mailing list