[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DEP8 tests using the built package source



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)



Reply to: