[PATCH 2/3] autodetect Perl packages

Niko Tyni ntyni at debian.org
Mon Sep 8 11:24:45 UTC 2014


On Mon, Sep 08, 2014 at 01:05:27PM +0200, gregor herrmann wrote:

> 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.)

Right. So while copying lib/ over too would fix this, it would lose the
assurance that we're testing the installed package.

Perhaps a simple 'mkdir $TDIR/lib/' in the smoke runner would work,
so the POD tests would be run against an empty directory?

We'd effectively skip the POD tests for autopkgtest, which I personally
find quite acceptable. (In case it's not clear, they are about checking
documentation syntax and/or function coverage.)
-- 
Niko Tyni   ntyni at debian.org



More information about the autopkgtest-devel mailing list