Hi Axel,

On Mon, Feb 15, 2021 at 06:25:36PM +0100, Axel Beckert wrote:
> https://salsa.debian.org/perl-team/modules/packages/equivs/-/commit/30c7e453ca187534ede9449e28e21e8b1a3b01fe
> added "Testsuite: autopkgtest-pkg-perl" to equivs, despite a
> debian/tests/control file is present in git (so a Testsuite header is
> not necessary according to lintian) and the package has nothing which
> can be tested via pkg-perl-autopkgtest:
> 
> autopkgtest [18:13:11]: test autodep8-perl-build-deps: preparing testbed
> autopkgtest [18:13:11]: test autodep8-perl-build-deps: 
> /usr/share/pkg-perl-autopkgtest/runner build-deps
> autopkgtest [18:13:11]: test autodep8-perl-build-deps: 
> [-----------------------
> I: Nothing to prove, skipping.
> autopkgtest [18:13:11]: test autodep8-perl-build-deps: 
> -----------------------]
> autopkgtest [18:13:11]: test autodep8-perl-build-deps:  - - - - - - - - - - 
> results - - - - - - - - - -
> autodep8-perl-build-deps SKIP exit status 77 and marked as skippable
> autopkgtest [18:13:11]: test autodep8-perl: preparing testbed
> autopkgtest [18:13:12]: test autodep8-perl: 
> /usr/share/pkg-perl-autopkgtest/runner runtime-deps
> autopkgtest [18:13:12]: test autodep8-perl: [-----------------------
> /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. skipped: can't guess 
> package from META.json or META.yml
> Files=1, Tests=0,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.09 cusr  0.01 
> csys =  0.12 CPU)
> Result: NOTESTS
> autopkgtest [18:13:12]: test autodep8-perl: -----------------------]
> autopkgtest [18:13:12]: test autodep8-perl:  - - - - - - - - - - results - - 
> - - - - - - - -
> autodep8-perl        PASS (superficial)
> autopkgtest [18:13:12]: test autodep8-perl-recommends: preparing testbed
> autopkgtest [18:13:13]: test autodep8-perl-recommends: 
> /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
> autopkgtest [18:13:13]: test autodep8-perl-recommends: 
> [-----------------------
> /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t .. 
> 1..4
> ok 1 - Package equivs is known to dpkg
> ok 2 - Got status information for package equivs
> ok 3 - Got file list for package equivs
> ok 4 # skip no perl modules to test in equivs
> ok
> All tests successful.
> Files=1, Tests=4,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.32 cusr  0.07 
> csys =  0.41 CPU)
> Result: PASS
> autopkgtest [18:13:14]: test autodep8-perl-recommends: 
> -----------------------]
> autopkgtest [18:13:14]: test autodep8-perl-recommends:  - - - - - - - - - - 
> results - - - - - - - - - -
> autodep8-perl-recommends PASS (superficial)
> autopkgtest [18:13:14]: @@@@@@@@@@@@@@@@@@@@ summary
> command1             PASS
> autodep8-perl-build-deps SKIP exit status 77 and marked as skippable
> autodep8-perl        PASS (superficial)
> autodep8-perl-recommends PASS (superficial)
> autopkgtest -B ./ --- null  11.37s user 2.18s system 89% cpu 15.206 total
> 
> 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

Cheers,

Jelmer

Reply via email to