[PATCH 2/3] autodetect Perl packages

gregor herrmann gregoa at debian.org
Mon Sep 8 11:05:27 UTC 2014


On Mon, 08 Sep 2014 12:46:18 +0200, Axel Beckert wrote:

> > | ./run-from-checkout libperl-metrics-simple-perl --- schroot sid
> > | t/0901_pod.t ...........
> > | 1..1
> > | not ok 1 - POD test for lib
> > | 
> > | #   Failed test 'POD test for lib'
> > | #   at /usr/share/perl5/Test/Pod.pm line 186.
> > | # lib does not exist
> > | # Looks like you failed 1 test of 1.
> > | Dubious, test returned 1 (wstat 256, 0x100)
> > | Failed 1/1 subtests 
> [...]
> > This might be a missing test dependency which needs to be added to the
> > Tests() instantiation?
> 
> Looks rather like not having the unpacked source directory in the
> current working directory. 

Which is no surprise; we're moving t/ to a temporary directory and
run `prove t/*' from there to make sure that we're testing the
_installed_ modules and not the ones from the source (lib/) or the
"built" ones (blib/).

Seems like we have a problem here with POD tests :/

(The good thing is that this doesn't affect all packages; in my tests
with a dozen or so I've never seen this.)


Cheers,
gregor, as a quick note inbetween

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #19:  floating point processor overflow 



More information about the autopkgtest-devel mailing list