On Mon, 08 Sep 2014 14:24:45 +0300, Niko Tyni wrote: > Perhaps a simple 'mkdir $TDIR/lib/' in the smoke runner would work, > so the POD tests would be run against an empty directory? Works! What I've tried: - take libperl-metrics-simple-perl - add a simple debian/tests/control [0] - copy over the smoke test - add `mkdir -p $TDIR/blib' [1] And we get: t/0901_pod.t ........... skipped: No files found in (blib) [..] adt-run [16:48:04]: test smoke: -----------------------] adt-run [16:48:04]: test smoke: - - - - - - - - - - results - - - - - - - - - - smoke PASS > 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.) Agreed. Change committed and pushed (in pkg-perl-tools), further thoughts/reviews/comments/tests welcome. Cheers, gregor [0] % cat debian/tests/control Tests: smoke Depends: @, @builddeps@ [1] according to the Test::Pod docs, it first looks in blib/ and then in lib/ if blib/ doesn't exist -- .''`. 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 `- NP: Beach Boys
Attachment:
signature.asc
Description: Digital Signature