On Mon, 25 Mar 2019 11:18:40 +0200, Andrius Merkys wrote:

> I suggest making the package build-depend on both libcompress-*-perl
> packages to run the tests during build. 

Sounds like a good idea to time.
I think you can just go ahead and add them in git.

> However, I don't know how to
> specify autopkgtest dependencies when test suite is specified as
> 'Testsuite: autopkgtest-pkg-perl'.

If you look at the output of autodep8 in a perl source package, you
see:

% autodep8
Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
Depends: @, @builddeps@, pkg-perl-autopkgtest
Features: test-name=autodep8-perl-build-deps

Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
Depends: @, pkg-perl-autopkgtest
Features: test-name=autodep8-perl

Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
Depends: @, pkg-perl-autopkgtest
Restrictions: needs-recommends
Features: test-name=autodep8-perl-recommends


and the first test has '@builddeps@'; in other words: if you add the
two new build dependencies in the source package to B-D(-I) in
debian/control, they will also be used for autopkgtests.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to