Subject: | Failure in t/00-load.t: "use ok" used, but not required |
Hi:
Currently the load test uses:
use ok 'ELF::Extract::Sections';
This syntax is supported by the Test::use::ok module, not Test::More.
Consequently, unless you have that module installed, the test will fail.
I recommend simply changing it to "use_ok" so as to not require
additional dependencies (as compared to Test::More, which is in core anyway)
Cheers,
Jonathan
FWIW: it basically blows up like this, and I'm surprised you haven't
seen CPAN Testers reports on it yet --
Can't locate ok.pm in @INC (@INC contains:
/build/jon-libelf-extract-sections-perl_0.0105-1-i386-1I6tie/libelf-extract-sections-perl-0.0105/blib/lib
/build/jon-libelf-extract-sections-perl_0.0105-1-i386-1I6tie/libelf-extract-sections-perl-0.0105/blib/arch
/etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
t/00-load.t line 5.
BEGIN failed--compilation aborted at t/00-load.t line 5.
# Looks like your test died before it could output anything.
t/00-load.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay