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

[PATCH 1/3] adt-run: add --tests-dir option for selecting tests directory



On Sat, Jun 28, 2014 at 04:05:42PM +0200, Martin Pitt wrote:
> Hello Antonio,
> 
> Antonio Terceiro [2014-06-27 21:17 -0300]:
> > +  * adt-run: add --tests-dir option for selecting a tests directory other then
> > +    debian/tests
> 
> "I'm not quite dead yet!"
> 
> autopkgtest had had an --override-control option for using something
> else than debian/tests/control. I dropped it a while ago in [1] as it
> wasn't even documented, but I heard from one or two people afterwards
> who were using it for similar "not quite package, but system level"
> testing. So perhaps this should be brought back instead, so that you
> can also provide a local debian/tests/control (for e. g. testing a
> package with different Restrictions:) with the package's tests? This
> should also suit your use case, as the location of the actual
> individual tests has always been configurable in the control file with
> "Tests-Directory:".

I nevew new that! :)

Yes, that should do the trick. Now that I am thinking about it, keeping
all the tests in debian/tests and only having to override the location
of the control file is way better.

Do you want me to reimplement that against the current code?

-- 
Antonio Terceiro <terceiro at 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/20140628/e53633c2/attachment.sig>


Reply to: