Bug#925448: libcache-fastmmap-perl: test integration with Compress::LZ4 and Compress::Snappy

gregor herrmann gregoa at debian.org
Mon Mar 25 15:26:02 GMT 2019


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
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20190325/a1e95ecb/attachment.sig>


More information about the pkg-perl-maintainers mailing list