Skip Menu |
 

This queue is for tickets about the Prima-IPA CPAN distribution.

Report information
The Basics
Id: 117871
Status: open
Priority: 0/
Queue: Prima-IPA

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.09
Fixed in: (no value)



Subject: [PATCH] bizarre pod-coverage test failure without X11 display
Download (untitled) / with headers
text/plain 788b
The t/99_pod_coverage.t test fails if there's no active X11 display: ... t/99_pod_coverage.t .. 1/8 # Failed test 'Pod coverage on Prima::IPA' # at /opt/perl-5.24.0/lib/site_perl/5.24.0/Test/Pod/Coverage.pm line 133. # Prima::IPA: requiring 'Prima::IPA' failed # Looks like you failed 1 test of 8. t/99_pod_coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests I think this could be fixed by preloading Prima::noX11: diff --git a/t/99_pod_coverage.t b/t/99_pod_coverage.t index fd6c2f2..16ebd88 100755 --- a/t/99_pod_coverage.t +++ b/t/99_pod_coverage.t @@ -5,6 +5,7 @@ use strict; use warnings; use Test::More; +use Prima::noX11; eval 'use Test::Pod::Coverage'; plan skip_all => 'Test::Pod::Coverage required for testing POD coverage' if $@;
Fixed, thank you! Will close when next version is out. Regards, Dmitry


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.