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

Bug#976801: marked as done (lintian: team/pkg-perl/testsuite/no-team-tests does not consider multi-valued Testsuite field)



Your message dated Wed, 8 Sep 2021 13:23:32 -0700
with message-id <CAFHYt55oMiF422BJfFG1rDRHUEDHK_BZTOZGnurrT+3FKii+Dg@mail.gmail.com>
and subject line Re: Bug#976801: Bug#982871: lintian-brush: Should not set "Testsuite: autopkgtest-pkg-perl" if debian/tests/control is present
has caused the Debian Bug report #976801,
regarding lintian: team/pkg-perl/testsuite/no-team-tests does not consider multi-valued Testsuite field
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
976801: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976801
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.104.0

Hello,

Tag team/pkg-perl/testsuite/no-team-tests does not seem to consider
multi-valued Testsuite field. The same issue may also be in pkg-js, but
this I have not checked.

I am working on a package already having pkg-perl autopkgtest suite, and
with 'Testsuite: autopkgtest-pkg-perl' in d/control. I want to add a
regular autopkgtest in addition to already existing pkg-perl suite. I
add d/tests/control with a 'Test-Command' there, but now lintian
complains with:

team/pkg-perl/testsuite/no-team-tests autopkgtest, autopkgtest-pkg-perl

The same tag is shown even if I change to 'Testsuite: autopkgtest,
autopkgtest-pkg-perl'.

Looking at lintian's code it seems it emits this tag whenever explicit
or implicit value of Testsuite is not autopkgtest is not equal to
'autopkgtest-pkg-perl'. What I expect is that lintian checks for any of
the comma-separated Testsuite values equal to 'autopkgtest-pkg-perl'.

Debian policy on the d/control Testsuite field [1]:

5.6.30. Testsuite

Simple field containing a comma-separated list of values allowing test
execution environments to discover packages which provide tests.

This field is automatically added to Debian source control files (.dsc)
by dpkg, with the value autopkgtest, when a debian/tests/control file is
present in the source package. This field may also be used in source
package control files (debian/control) if needed in other situations.

[1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#testsuite

Best,
Andrius

--- End Message ---
--- Begin Message ---
Control: fixed -1 2.105.0

Hi,

On Mon, Feb 22, 2021 at 10:41 PM Andrius Merkys <merkys@debian.org> wrote:
>
> > Please note that, in any event, the fix came too late for 'bullseye'.

The fix was deployed in 2.105.0, but the bug number in the commit
message had an extra digit. The bug was not closed automatically.

Closing the bug manually.

Kind regards
Felix Lechner

--- End Message ---

Reply to: