Skip Menu |

This queue is for tickets about the RPi-PIGPIO CPAN distribution.

Report information
The Basics
Id: 120656
Status: resolved
Priority: 0/
Queue: RPi-PIGPIO

People
Owner: HOREA [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: pod test fails (encoding problem) (0.010)
My smoker systems report the following failure: ... # Failed test 'POD test for blib/lib/RPi/PIGPIO/Device/DSM501A.pm' # at /usr/perl5.20.0/lib/site_perl/5.20.0/Test/Pod.pm line 187. Wide character in print at /usr/perl5.20.0/lib/site_perl/5.20.0/Test2/Formatter/TAP.pm line 112. # blib/lib/RPi/PIGPIO/Device/DSM501A.pm (17): Non-ASCII character seen before =encoding in '≥1'. Assuming UTF-8 # Looks like you failed 1 test of 8. t/00_pod_test.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests ...
On 2017-03-19 08:32:40, SREZIC wrote: Show quoted text
> My smoker systems report the following failure: > > ... > # Failed test 'POD test for blib/lib/RPi/PIGPIO/Device/DSM501A.pm' > # at /usr/perl5.20.0/lib/site_perl/5.20.0/Test/Pod.pm line 187. > Wide character in print at > /usr/perl5.20.0/lib/site_perl/5.20.0/Test2/Formatter/TAP.pm line 112. > # blib/lib/RPi/PIGPIO/Device/DSM501A.pm (17): Non-ASCII character seen > before =encoding in '≥1'. Assuming UTF-8 > # Looks like you failed 1 test of 8. > t/00_pod_test.t ......... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/8 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};
I've make the changes you suggested, I'll release them to CPAN with the next version in a couple of days. Thanks for pointing this out.