Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Martin Pitt
Hello Dominic, Dominic Hargreaves [2015-06-15 22:58 +0100]: > Something to satisfy my original use case where I simply run adt-run > against all the packages I'm interested in, and only the ones with > 'validated' tests actually run. Ah, ok -- then grep-dctrl'ing for all packages with "Testsuite:

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Dominic Hargreaves
On Mon, Jun 15, 2015 at 07:16:03PM +0200, Martin Pitt wrote: > Hello Dominic, > > Dominic Hargreaves [2015-06-15 14:32 +0100]: > > I thought about 'no autodep8', but the semantics aren't quite correct, > > since a package could declare Testsuite: autopkgtest, but rely on the > > autodep8 behaviour

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Martin Pitt
Hello Dominic, Dominic Hargreaves [2015-06-15 14:32 +0100]: > I thought about 'no autodep8', but the semantics aren't quite correct, > since a package could declare Testsuite: autopkgtest, but rely on the > autodep8 behaviour. Right, that happens all the time with perl/ruby, as Nico and Antonio p

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Martin Pitt
Antonio Terceiro [2015-06-15 14:01 -0300]: > - autopkgtest does not care (or didn't, until recently) about the value > of the Testsuite: field; if you give it a package, it will try to run > tests for it. That hasn't changed, isn't planned, and wouldn't make much sense for autopkgtest itself.

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Antonio Terceiro
On Mon, Jun 15, 2015 at 04:48:11PM +0300, Niko Tyni wrote: > On Mon, Jun 15, 2015 at 02:32:28PM +0100, Dominic Hargreaves wrote: > > On Mon, Jun 15, 2015 at 07:30:34AM +0200, Martin Pitt wrote: > > > > So to clarify, you want an option to disable autodep8, right? If a > > > source package doesn't

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Niko Tyni
On Mon, Jun 15, 2015 at 02:32:28PM +0100, Dominic Hargreaves wrote: > On Mon, Jun 15, 2015 at 07:30:34AM +0200, Martin Pitt wrote: > > So to clarify, you want an option to disable autodep8, right? If a > > source package doesn't have tests and autodep8 does not generate any > > either, then adt-ru

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Dominic Hargreaves
On Mon, Jun 15, 2015 at 07:30:34AM +0200, Martin Pitt wrote: > Hello Dominic, Hello, Thank you for your reply (and indeed your prompt implementation). > Dominic Hargreaves [2015-06-14 0:18 +0100]: > > To allow test execution environments to discover packages which provide > > tests, their s

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-15 Thread Martin Pitt
Control: tag -1 pending Hello again, Dominic Hargreaves [2015-06-14 0:18 +0100]: > Please could adt-run have an option to exit without running any tests > if the source package in question doesn't define any? Added in http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=6cf

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-14 Thread Martin Pitt
Hello Dominic, Dominic Hargreaves [2015-06-14 0:18 +0100]: > To allow test execution environments to discover packages which provide > tests, their source packages should have a ``Testsuite:`` header > containing ``autopkgtest`` (which is currently the only defined value). > Multiple valu

Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

2015-06-13 Thread Dominic Hargreaves
Package: autopkgtest Version: 3.14.3 Severity: wishlist README.package-tests.rst.gz says: To allow test execution environments to discover packages which provide tests, their source packages should have a ``Testsuite:`` header containing ``autopkgtest`` (which is currently the only defined