Skip Menu |

This queue is for tickets about the Religion-Bible-Regex-Builder CPAN distribution.

Report information
The Basics
Id: 123579
Status: open
Priority: 0/
Queue: Religion-Bible-Regex-Builder

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

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



Subject: perl critic test fails
Log output: # Failed test 'Test::Perl::Critic for "blib/lib/Religion/Bible/Regex/Builder.pm"' # at /opt/perl-5.16.3/lib/site_perl/5.16.3/Test/Perl/Critic.pm line 104. # # I/O layer ":utf8" used at line 12, column 1. Use ":encoding(UTF-8)" to get strict validation. (Severity: 5) t/perlcritic.t ............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests
On 2017-11-09 23:33:04, SREZIC wrote: Show quoted text
> Log output: > > # Failed test 'Test::Perl::Critic for > "blib/lib/Religion/Bible/Regex/Builder.pm"' > # at /opt/perl-5.16.3/lib/site_perl/5.16.3/Test/Perl/Critic.pm line > 104. > # > # I/O layer ":utf8" used at line 12, column 1. Use ":encoding(UTF- > 8)" to get strict validation. (Severity: 5) > t/perlcritic.t ............... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests
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};