Bug#982871: lintian-brush: Should not set "Testsuite: autopkgtest-pkg-perl" if debian/tests/control is present

Jelmer Vernooij jelmer at debian.org
Thu Feb 18 00:14:32 GMT 2021


On Tue, Feb 16, 2021 at 08:41:05AM +0200, Andrius Merkys wrote:
> Hello,
> 
> On 2021-02-15 22:12, gregor herrmann wrote:
> > On Mon, 15 Feb 2021 20:29:51 +0100, Axel Beckert wrote:
> >> Jelmer Vernooij wrote:
> >>>> So please stop adding "Testsuite:" headers if debian/tests/control is
> >>>> already present.
> >>>>
> >>>> Luckily the testsuite declared in debian/tests/control was still run, so
> >>>> it didn't completely break autopkgtest for this package, but at least
> >>>> caused unnecessary tests being tried to run, but then skipped.
> >>> Thanks for the bug report.
> >>>
> >>> It looks like this is also a bug in lintian, since it reports
> >>> team/pkg-perl/testsuite/no-team-tests for equivs:
> >>>
> >>> https://lintian.debian.org/tags/team/pkg-perl/testsuite/no-team-tests.html
> >>
> >> Hmmm, I have recently worked on debsums (similar case of a native
> >> pkg-perl-team package which also has a debian/tests/control file) and
> >> I can't remember having seen that warning. Then again I had the
> >> feeling that the lintian tags on the web are often outdated.
> >>
> >> Just checked: Yeah, it's overridden there. (Overridden by myself in
> >> 2015. :-)
> > 
> > Heh :)
> > 
> > I think that's a know, hm, behaviour lintian. I thought there even
> > was a bug report about it but I can't find it right now.
> 
> I had similar (same?) experience with lintian's
> team/pkg-perl/testsuite/no-team-tests due to the package having both
> "Testsuite: autopkgtest-pkg-perl" and debian/tests/control. I filed that
> as bug in lintian, #976801.

This seems to be a slightly different issue. Should
autopkgtest-pkg-perl still be added to Testsuite if there are
other testsuites present, i.e. should this lintian issue still be
raised as the team/pkg-perl/testsuite/no-team-tests description
suggests if "autopkgtest-pkg-perl" is not present but some other
Testsuite setting is?

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20210218/fcdf353a/attachment.sig>


More information about the pkg-perl-maintainers mailing list