Bug#738552: autopkgtest: add support for using locally-built binaries without a second build

Martin Pitt mpitt at debian.org
Tue Feb 11 06:03:08 UTC 2014

Hey Antonio,

Antonio Terceiro [2014-02-10 15:53 -0300]:
> > Perhaps there is some middle ground, like adding a --binary-dir=<dir>
> > which acts like "--binary <dir>/<x>.deb" for each <x>.deb in <dir>?
> that would be nice, yes. I would just restrict the list to binaries that
> could be the product of building the current tree (i.e. the binaries
> listed in a .changes file in <dir> corresponding to the current version
> of the source package pointed by --built-tree=.)

I think the .changes actually the right place. So this could become a
new option

  --changes ../foo_*.changes

which would be implied if you specify a *.changes file (much like
.deb, .dsc, etc.), so you'd call this with

  adt-run ../foo_*.changes

to run tests from the .dsc and with the binaries in the .changes, or

  adt-run ../foo_*.changes ./

to run tests from the built tree in the current directory, and with
the binaries in the .changes.

That is easy to use, fits into the design of the existing processing
options, and does not change existing behaviour. What do you think?


Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20140211/6888a1fe/attachment.sig>

More information about the autopkgtest-devel mailing list