Subject: | make test fails on Cygwin |
Tried to install ORLite from CPAN.
Received this:
Running make test
/usr/bin/perl5.10.0.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.......ok
t/02_basics........1/51
package Foo::Bar
sub orlite { '1.20' }
sub sqlite { '/home/Amir/.cpan/build/ORLite-1.20-HtRxsC/t/sqlite.db' }
sub dsn {
'dbi:SQLite:/home/Amir/.cpan/build/ORLite-1.20-HtRxsC/t/sqlite.db' }
sub dbh
sub connect
sub do
sub selectall_arrayref
sub selectall_hashref
sub selectcol_arrayref
sub selectrow_array
sub selectrow_arrayref
sub selectrow_hashref
sub prepare
sub pragma
sub begin
sub commit
sub rollback
package Foo::Bar::Foo
sub select
sub count
sub bar
Foo::Bar code saved as /tmp/6vuEFjdYTg
# Failed test '->user_version ok'
# at t/02_basics.t line 53.
# got: '2'
# expected: '0'
Can't locate object method "create" via package "Foo::Bar::TableOne"
(perhaps you forgot to load "Foo::Bar::TableOne"?) at
t/02_basics.t line 56.
# Looks like you planned 51 tests but ran 6.
# Looks like you failed 1 test of 6 run.
# Looks like your test exited with 255 just after 6.
t/02_basics........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 46/51 subtests
t/03_fk............1/5 Can't locate object method "select" via package
"Foo::Bar::TableTwo" (perhaps you forgot to load "F
o::Bar::TableTwo"?) at t/03_fk.t line 45.
# Looks like you planned 5 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/03_fk............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
t/04_readonly......1/9 Schema user_version mismatch (got 2, wanted 10)
at /home/Amir/.cpan/build/ORLite-1.20-HtRxsC/blib/l
b/ORLite.pm line 107.
BEGIN failed--compilation aborted at (eval 24) line 8.
# Looks like you planned 9 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/04_readonly...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/9 subtests
t/05_notables......1/5 Schema user_version mismatch (got 2, wanted 10)
at /home/Amir/.cpan/build/ORLite-1.20-HtRxsC/blib/l
b/ORLite.pm line 107.
BEGIN failed--compilation aborted at (eval 24) line 9.
# Looks like you planned 5 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/05_notables...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/5 subtests
t/06_create........1/19
# Failed test 'schema_version is zero'
# at t/06_create.t line 45.
# got: '1'
# expected: '0'
# Failed test 'user_version is zero'
# at t/06_create.t line 46.
# got: '2'
# expected: '0'
DBD::SQLite::db do failed: table foo already exists at (eval 25) line 24.
# Failed test 'Created test table'
# at t/06_create.t line 51.
DBD::SQLite::db do failed: table foo already exists at (eval 31) line 10.
# Failed test 'Found 2 Foo objects'
# at t/06_create.t line 100.
# got: '4'
# expected: '2'
Can't locate object method "create" via package "My::Test2::Foo" at
t/06_create.t line 107.
# Looks like you planned 19 tests but ran 17.
# Looks like you failed 4 tests of 17 run.
# Looks like your test exited with 2 just after 17.
t/06_create........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/19 subtests
t/97_meta..........skipped: Author tests not required for installation
t/98_pod...........skipped: Author tests not required for installation
t/99_pmv...........skipped: Author tests not required for installation
Test Summary Report
-------------------
t/02_basics.t (Wstat: 65280 Tests: 6 Failed: 1)
Failed test: 6
Non-zero exit status: 255
Parse errors: Bad plan. You planned 51 tests but ran 6.
t/03_fk.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 1.
t/04_readonly.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 3.
t/05_notables.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 3.
t/06_create.t (Wstat: 512 Tests: 17 Failed: 4)
Failed tests: 3-4, 7, 13
Non-zero exit status: 2
Parse errors: Bad plan. You planned 19 tests but ran 17.
Files=9, Tests=34, 4 wallclock secs ( 0.03 usr 0.05 sys + 2.33 cusr
0.60 csys = 3.02 CPU)
Result: FAIL
Failed 5/9 test programs. 5/34 subtests failed.
make: *** [test_dynamic] Error 255
ADAMK/ORLite-1.20.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ADAMK/ORLite-1.20.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
ADAMK/ORLite-1.20.tar.gz : make_test NO