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

Andrius Merkys merkys at debian.org
Tue Feb 16 06:41:05 GMT 2021


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.

Best,
Andrius



More information about the pkg-perl-maintainers mailing list