make test faild
Closed this issue · 5 comments
renn999 commented
log:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-commands.t t/00-install.t t/00-load.t t/00-path.t t/00-update.t t/01-package.t t/01-record.t t/00-commands....ok 1/6 # Failed test 'use Vimana::Command::Install;' # at t/00-commands.t line 8. # Tried to use 'Vimana::Command::Install'. # Error: Can't locate YAML.pm in @INC (@INC contains: lib /home/renn999/Vimana/inc /home/renn999/Vimana/blib/lib /home/renn999/Vimana/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 .) at lib/Vimana/Record.pm line 9. # BEGIN failed--compilation aborted at lib/Vimana/Record.pm line 9. # Compilation failed in require at lib/Vimana/Command/Install.pm line 10. # BEGIN failed--compilation aborted at lib/Vimana/Command/Install.pm line 10. # Compilation failed in require at (eval 21) line 2. # BEGIN failed--compilation aborted at (eval 21) line 2. t/00-commands....NOK 3/6# Looks like you failed 1 test of 6. t/00-commands....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/6 tests, 83.33% okay t/00-install.....ok 1/15 # Failed test 'use Vimana::AutoInstall;' # at t/00-install.t line 15. # Tried to use 'Vimana::AutoInstall'. # Error: Can't locate DateTime.pm in @INC (@INC contains: lib /home/renn999/Vimana/inc /home/renn999/Vimana/blib/lib /home/renn999/Vimana/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 .) at lib/Vimana/AutoInstall.pm line 14. # BEGIN failed--compilation aborted at lib/Vimana/AutoInstall.pm line 14. # Compilation failed in require at (eval 23) line 2. # BEGIN failed--compilation aborted at (eval 23) line 2. t/00-install.....NOK 6/15 # Failed test 'use Vimana::Command::Install;' # at t/00-install.t line 16. # Tried to use 'Vimana::Command::Install'. # Error: Can't locate YAML.pm in @INC (@INC contains: lib /home/renn999/Vimana/inc /home/renn999/Vimana/blib/lib /home/renn999/Vimana/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 .) at lib/Vimana/Record.pm line 9. # BEGIN failed--compilation aborted at lib/Vimana/Record.pm line 9. # Compilation failed in require at lib/Vimana/Command/Install.pm line 10. # BEGIN failed--compilation aborted at lib/Vimana/Command/Install.pm line 10. # Compilation failed in require at (eval 58) line 2. # BEGIN failed--compilation aborted at (eval 58) line 2. t/00-install.....NOK 7/15# Looks like you failed 2 tests of 15. t/00-install.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 6-7 Failed 2/15 tests, 86.67% okay (less 8 skipped tests: 5 okay, 33.33%) t/00-load........ok 1/7 # Failed test 'use Vimana::AutoInstall;' # at t/00-load.t line 12. # Tried to use 'Vimana::AutoInstall'. # Error: Can't locate DateTime.pm in @INC (@INC contains: lib /home/renn999/Vimana/inc /home/renn999/Vimana/blib/lib /home/renn999/Vimana/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 .) at lib/Vimana/AutoInstall.pm line 14. # BEGIN failed--compilation aborted at lib/Vimana/AutoInstall.pm line 14. # Compilation failed in require at (eval 23) line 2. # BEGIN failed--compilation aborted at (eval 23) line 2. t/00-load........NOK 6/7# Testing Vimana 0.09, Perl 5.010000, /usr/bin/perl # Looks like you failed 1 test of 7. t/00-load........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 Failed 1/7 tests, 85.71% okay t/00-path........Undefined subroutine &Vimana::Util::which called at t/00-path.t line 5. # Looks like your test exited with 255 before it could output anything. t/00-path........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/00-update......&Digest::SHA1::sha1_hex function called with reference argument at /usr/local/share/perl/5.10.0/Cache/File.pm line 395. t/00-update......ok t/01-package.....ok t/01-record...... # Failed test 'use Vimana::Record;' # at t/01-record.t line 8. # Tried to use 'Vimana::Record'. # Error: Can't locate YAML.pm in @INC (@INC contains: lib /home/renn999/Vimana/inc /home/renn999/Vimana/blib/lib /home/renn999/Vimana/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 .) at lib/Vimana/Record.pm line 9. # BEGIN failed--compilation aborted at lib/Vimana/Record.pm line 9. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. "my" variable $find masks earlier declaration in same scope at t/01-record.t line 61. Can't locate object method "add" via package "Vimana::Record" at t/01-record.t line 15. # Looks like you planned 8 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/01-record......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-8 Failed 8/8 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00-commands.t 1 256 6 1 3 t/00-install.t 2 512 15 2 6-7 t/00-load.t 1 256 7 1 6 t/00-path.t 255 65280 1 2 1 t/01-record.t 255 65280 8 15 1-8 8 subtests skipped. Failed 5/7 test scripts. 13/57 subtests failed. Files=7, Tests=57, 8 wallclock secs ( 1.59 cusr + 0.18 csys = 1.77 CPU) Failed 5/7 test programs. 13/57 subtests failed. make: *** [test_dynamic] Error 255
c9s commented
seems you need to install some dependencies.
i just fixed the 00-path.t and update the dependencies.
please see if it works for you. ;=)
renn999 commented
Thank you very much.
I Manual Install 2 perl module dependencies YAML and DataTime. It looks can work, but also have make test error.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-commands.t t/00-install.t t/00-load.t t/00-path.t t/00-update.t t/01-package.t t/01-record.t t/00-commands....ok t/00-install.....ok 8/15 skipped: various reasons t/00-load........ok 1/7# Testing Vimana 0.09, Perl 5.010000, /usr/bin/perl t/00-load........ok t/00-path........ok t/00-update......&Digest::SHA1::sha1_hex function called with reference argument at /usr/local/share/perl/5.10.0/Cache/File.pm line 395. t/00-update......ok t/01-package.....ok t/01-record......"my" variable $find masks earlier declaration in same scope at t/01-record.t line 61. Undefined subroutine &Vimana::Record::DumpFile called at lib/Vimana/Record.pm line 32. # Looks like you planned 8 tests but ran 1. # Looks like your test exited with 2 just after 1. t/01-record......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 2-8 Failed 7/8 tests, 12.50% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/01-record.t 2 512 8 14 2-8 8 subtests skipped. Failed 1/7 test scripts. 7/57 subtests failed. Files=7, Tests=57, 5 wallclock secs ( 2.21 cusr + 0.24 csys = 2.45 CPU) Failed 1/7 test programs. 7/57 subtests failed. make: *** [test_dynamic] Error 2
c9s commented
i just fixed that. ;-)
renn999 commented
There are no more errors, Thanks very much!
c9s commented
COOL!