On 2018-10-17 12:51:52, SREZIC wrote:
Show quoted text> The pod coverage test fails:
>
> ...
> # Failed test 'Pod coverage on Kasago'
> # at /opt/perl-5.26.2/lib/site_perl/5.26.2/Test/Pod/Coverage.pm line
> 133.
> # Kasago: requiring 'Kasago' failed
> # Looks like you failed 1 test of 3.
> t/pod_coverage.t ..
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/3 subtests
> DBI connect('dbname=kasago_test','',...) failed: could not connect to
> server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"? at t/simple.t line 10.
> ...
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};