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

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140320101746.ge3...@piware.de

Reply via email to