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

Bug#865570: lintian: autopkgtest no longer requires an entry in debian/control



Package: lintian
Version: 2.5.51
Severity: normal

Dear Maintainer,

I was updating one of my packages today and received the testsuite-autopkgtest-
missing information warning from lintian. This appears to have been added due
to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859467.

This is very good, because there isn't a testsuite in my package, and thanks to
the prompt I will now provide one (I keep forgetting to check if this is one of
the packages for which I haven't done it yet).

However, reading the information about the warning, it sounds like lintian will
only be checking if there is a Testsuite field in debian/control (I have not
tested this). Unfortunately, this field is optional (it is added automatically
by dpkg-source version 1.17.11 or later) and lintian would give false positives
in cases where a testsuite is provided, but not declared in debian/control.

A more reliable way to check if a testsuite is provided, is to look for a
control file in the debian/tests directory.

Or if I am wrong about lintian, and it already checks there too, then the
description for the lintian tag should be updated.

Regards,

Ross



-- System Information:
Debian Release: stretch/sid
  APT prefers yakkety-updates
  APT policy: (500, 'yakkety-updates'), (500, 'yakkety-security'), (500, 'yakkety'), (100, 'yakkety-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: