[Python-modules-team] Bug#685509: Bug#685509: Bug#685508: Please add "XS-Testsuite: autopkgtest" header in debian/control
Yaroslav Halchenko
debian at onerussian.com
Tue Aug 21 13:50:02 UTC 2012
On Tue, 21 Aug 2012, Jakub Wilk wrote:
> Control: tag -1 + wontfix
> * Dmitry Shachnev <mitya57 at gmail.com>, 2012-08-21, 17:10:
> >>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 values get comma separated, as usual in
> >>control files.
> There are better ways to discover which packages provide tests:
> http://lists.debian.org/20120413215537.GA1712@jwilk.net
FWIW -- possibly more convenient user-land construct might be
apt-file search -a source 'debian/tests/control'
But there is somewhat a problem with all the grepping approaches is when
dealing with multiple APT repositories. Source header field indeed could
have helped to locate the packages with tests regardless of their origin.
> I'm not going to pollute my .dsc with this metadata.
my 0.1 cent: IMHO immediate use for "Testsuite:" would become more
adequate if multiple formal ways to run testsuites becomes available.
But either should it be added manually ATM -- as DEP-8 suggests, that field
might be added automagically in the future by dpkg-source... it might be the
cleanest long-term solution.
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the Python-modules-team
mailing list