Bug#924985: Autopkgtest for libhtml-autopagerize-perl fails
gregor herrmann
gregoa at debian.org
Sat Feb 22 13:39:10 GMT 2025
On Sat, 22 Feb 2025 11:12:41 +0100, Andreas Tille wrote:
> Concluding from "Can't locate Test/Base.pm in @INC" I need to add the
> Test-Depends: libtest-base-perl. However, since we are just running
>
> Testsuite: autopkgtest-pkg-perl
>
> I wonder how to specify those extra Test-Depends. Is there any trick
> to avoid an explicit debian/tests/control which I don't know yet.
Test::Base is vendored in inc/ that's why it's found at build time
but not during autopkgtests.
Option 1: Create debian/tests/pkg-perl/smoke-files with
t/
inc/
Option 2: Add "libtest-base-perl <!nocheck>" to Build-Depends-Indep
Option 2a: Add "libtest-base-perl <!nocheck>" to Build-Depends-Indep
and also use it during build tests.
So far the theory, in practice implementing 2a is not so easy … Oh,
and option 1 also doesn't work. Hm.
Interestingly, t/01_live.t is not run during the build:
t/01_live.t ..... skipped: TEST_LIVE is not defined
No idea why it's even tried during autopkgtests (is something setting
TEST_LIVE?). Looking at t/01_live.t, I suggest to skip it during
autopkgtests as well (downloading some weird tumblr page).
Anyway, you'll find some commits in the repo and both buildtime tests
and autopkgtests look clean now :)
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/20250222/f4e79a75/attachment.sig>
More information about the pkg-perl-maintainers
mailing list