DEP8 tests using the built package source

Martin Pitt mpitt at
Thu Mar 20 10:17:46 UTC 2014

Jakub Wilk [2014-03-19 11:52 +0100]:
> >autopkgtest calls dpkg-buildpackage to do the actual package
> >build, so for adding this to autopkgtest explicitly, we could add
> >a flag for that and call dpkg-buildpackage --target.
> If by "a flag" you meant "a new restriction", then it sounds good to
> me. :)

I actually mean a new optional field, as the build target is not
really a restriction. I. e. either

  Tests: foo
  Build-Target: testonly

Or we actually use the "Features:" field for that; so far there are no
defined features, but it could perhaps look like

  Tests: foo
  Features: build-target=testonly

Which would then expect a "testonly" debian/rules target.


Martin Pitt                        |
Ubuntu Developer (  | Debian Developer  (

More information about the autopkgtest-devel mailing list