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

Bug#692282: [new check] debian/tests/control but not (XS-)Testsuite: autopkgtest header in debian/control



Package: lintian
Version: 2.5.10.2
Severity: wishlist

[ context is https://lists.debian.org/debian-qa/2012/11/msg00009.html where we
  are discussing the integration of autopkgtest runs with the new
  jenkins.debian.net service ]

For discoverability, packages shipping tests for the autopkgtest testing
framework [1] should declare their presence using an "XS-Testsuite:
autopkgtest" header in debian/control (see last section of [2]).

At present, only 3 packages in sid/main have that header [3], whereas 68
packages have a debian/tests/control file [4].

Can you please add a lintian test that will warn if a debian/tests/control file
exists, but no "XS-Testsuite: autopkgtest" header is present in the source
stanza of debian/control ?

I'll propose a wishlist mass-bug-filing to fix the packages already in the
archive, but the test would be nice to both avoid the problem in the future,
and more easily quantify its presence in the archive.


Thanks for maintaining lintian!
Cheers.


[1]: http://packages.qa.debian.org/a/autopkgtest.html
[2]: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
[3]: see attached autopkgtest-list.header.txt , obtained starting from
     $ wget -q http://http.debian.net/debian/dists/unstable/main/source/Sources.bz2 -O- | bunzip2 -c | grep-dctrl -s Package -F Testsuite autopkgtest -
[4]: see attached autopkgtest-list.content.txt , obtained starting from
     $ wget -q http://http.debian.net/debian/dists/unstable/main/Contents-source.gz -O- | zgrep -m1 -E '^debian/tests/control\s'

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.22-7.1
ii  bzip2                          1.0.6-4
ii  diffstat                       1.55-3
ii  file                           5.11-2
ii  gettext                        0.18.1.1-9
ii  hardening-includes             2.2
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26+b1
ii  libarchive-zip-perl            1.30-6
ii  libc-bin                       2.13-36
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.9
ii  libemail-valid-perl            0.190-1
ii  libipc-run-perl                0.92-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  locales                        2.13-36
ii  locales-all [locales]          2.13-36
ii  man-db                         2.6.3-1
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-14

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.16.9
ii  libhtml-parser-perl    3.69-2
pn  libperlio-gzip-perl    <none>
ii  libtext-template-perl  1.45-2
ii  man-db                 2.6.3-1
ii  xz-utils [lzma]        5.1.1alpha+20120614-1

-- no debconf information
postgresql-common
tabix
upower
apipkg
bobo
bzr
bzr-email
bzr-fastimport
bzr-git
bzr-loom
bzr-rewrite
bzr-stats
bzr-svn
bzr-upload
execnet
gamera
libgmpada
libgtkada
libncursesada
libtexttools
mafft
mawk
ocrad
postgresql-common
pstreams
pytest-xdist
python-byteplay
python-chameleon
python-fastimport
python-mechanize
rake
ruby-switch
samba4
sinntp
sourcecodegen
sphinx
tabix
transaction
udisks
upower
zc.buildout
zc.lockfile
zconfig
zdaemon
zodb
zope.authentication
zope.browser
zope.cachedescriptors
zope.component
zope.configuration
zope.contenttype
zope.copy
zope.deprecation
zope.dottedname
zope.event
zope.exceptions
zope.hookable
zope.i18n
zope.i18nmessageid
zope.interface
zope.location
zope.proxy
zope.publisher
zope.schema
zope.security
zope.sendmail
zope.sqlalchemy
zope.testbrowser
zope.testing
zope.testrunner
zope.traversing

Reply to: