On 2016-09-14 23:04:30, SREZIC wrote:
Show quoted text> The pod test fails:
>
> # Failed test 'POD test for blib/lib/File/Find/Rule/LibMagic.pm'
> # at /opt/perl-5.18.4/lib/site_perl/5.18.4/Test/Pod.pm line 187.
> # blib/lib/File/Find/Rule/LibMagic.pm (48): alternative text
> 'File::LibMagic/checktype_filename' contains non-escaped | or /
> # blib/lib/File/Find/Rule/LibMagic.pm (53): alternative text
> 'File::LibMagic/describe_filename' contains non-escaped | or /
> # Looks like you failed 1 test of 1.
> t/pod.t ...........
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
>
>
> It seems that t/01-samples.t and t/02-object.t also fail, but I cannot
> tell if these failures are perl version or OS specific.
Take note of the warning issued by the kwalitee test...
While this test failure is indeed an issue that should be corrected, please don't allow pod, critic, coverage or kwalitee tests to run for normal user installs, as they make the installation fail unnecessarily when newer versions of the tester module introduces errors that you cannot anticipate. Also spelling tests are dependent on what dictionaries are installed locally, and critic tests use all plugins that are installed, neither of which can be predicted in advance.
Either move these tests to xt/, or guard them with:
plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};