Subject: | Hardware::SensorsParser fails to install without force |
Date: | Mon, 11 Nov 2013 20:07:17 -0600 |
To: | bug-Hardware-SensorsParser [...] rt.cpan.org |
From: | Paul Trost <paul.trost [...] trostfamily.org> |
root@server:/usr/local/src/Hardware-SensorsParser# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing Hardware::SensorsParser 0.01, Perl
5.014002, /usr/bin/perl
t/00-load.t ....... ok
t/01-sensors.t .... Can't locate Hardware/Sensors.pm in @INC (@INC
contains: /usr/local/src/Hardware-SensorsParser/blib/lib
/usr/local/src/Hardware-SensorsParser/blib/arch /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at t/01-sensors.t line 2.
BEGIN failed--compilation aborted at t/01-sensors.t line 2.
# Looks like your test exited with 2 before it could output anything.
t/01-sensors.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/boilerplate.t ... ok
t/manifest.t ...... skipped: Author tests not required for installation
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for
testing POD coverage
t/pod.t ........... skipped: Test::Pod 1.22 required for testing POD
Test Summary Report
-------------------
t/01-sensors.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0)
TODO passed: 1-3
Files=6, Tests=4, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.11 cusr
0.02 csys = 0.18 CPU)
Result: FAIL
Failed 1/6 test programs. 0/4 subtests failed.
make: *** [test_dynamic] Error 255
'make test' fails as t/01-sensors.t is specifying 'use
Hardware::Sensors' which doesn't exist. Removing the use line allows
make test to run successfully.