Subject: | Error while testing |
Perl - plain 5.14.0 (from perlbrew). In cpan:
cpan[1]> install DBIx::Class::Loader
Going to read '/home/depesz/.cpan/Metadata'
Database was generated on Mon, 30 May 2011 16:27:16 GMT
Running install for module 'DBIx::Class::Loader'
Running make for B/BL/BLBLACK/DBIx-Class-Loader-0.21.tar.gz
Checksum for
/home/depesz/.cpan/sources/authors/id/B/BL/BLBLACK/DBIx-Class-Loader-0.21.tar.gz
ok
Scanning cache /home/depesz/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build B/BL/BLBLACK/DBIx-Class-Loader-0.21.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for DBIx::Class::Loader
Writing MYMETA.yml
cp lib/DBIx/Class/Loader/Writing.pm blib/lib/DBIx/Class/Loader/Writing.pm
cp lib/DBIx/Class/Loader.pm blib/lib/DBIx/Class/Loader.pm
cp lib/DBIx/Class/Loader/mysql.pm blib/lib/DBIx/Class/Loader/mysql.pm
cp lib/DBIx/Class/Loader/Pg.pm blib/lib/DBIx/Class/Loader/Pg.pm
cp lib/DBIx/Class/Loader/Generic.pm blib/lib/DBIx/Class/Loader/Generic.pm
cp lib/DBIx/Class/Loader/DB2.pm blib/lib/DBIx/Class/Loader/DB2.pm
cp lib/DBIx/Class/Loader/SQLite.pm blib/lib/DBIx/Class/Loader/SQLite.pm
Manifying blib/man3/DBIx::Class::Loader::Writing.3
Manifying blib/man3/DBIx::Class::Loader.3
Manifying blib/man3/DBIx::Class::Loader::mysql.3
Manifying blib/man3/DBIx::Class::Loader::Generic.3
Manifying blib/man3/DBIx::Class::Loader::Pg.3
Manifying blib/man3/DBIx::Class::Loader::SQLite.3
Manifying blib/man3/DBIx::Class::Loader::DB2.3
BLBLACK/DBIx-Class-Loader-0.21.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /opt/perlbrew/perls/perl-5.14.0/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/01use.t ............ 1/3 IMPORTANT: DBIx::Class::DB is DEPRECATED AND
*WILL* BE REMOVED. DO NOT USE.
t/01use.t ............ ok
t/02pod.t ............ skipped: set TEST_POD to enable this test
t/03podcoverage.t .... skipped: set TEST_POD to enable this test
t/10sqlite_common.t .. IMPORTANT: DBIx::Class::DB is DEPRECATED AND
*WILL* BE REMOVED. DO NOT USE.
loader_test9 has no primary key at
/home/depesz/.cpan/build/DBIx-Class-Loader-0.21-w8eeFP/blib/lib/DBIx/Class/Loader.pm
line 110
t/10sqlite_common.t .. 1/26 DBIx::Class::ResultSetProxy::find(): find()
expects either a column/value hashref, or a list of values corresponding
to the columns of the specified unique constraint 'primary' at
t/dbixcl_common_tests.pm line 73
# Looks like you planned 26 tests but ran 5.
# Looks like your test exited with 2 just after 5.
t/10sqlite_common.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 21/26 subtests
t/11mysql_common.t ... skipped: You need to set the MYSQL_NAME,
MYSQL_USER and MYSQL_PASS environment variables
t/12pg_common.t ...... skipped: You need to set the PG_NAME, PG_USER and
PG_PASS environment variables
t/13db2_common.t ..... skipped: You need to set the DB2_NAME, DB2_USER
and DB2_PASS environment variables
Test Summary Report
-------------------
t/10sqlite_common.t (Wstat: 512 Tests: 5 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 26 tests but ran 5.
Files=7, Tests=8, 5 wallclock secs ( 0.03 usr 0.02 sys + 0.38 cusr
0.06 csys = 0.49 CPU)
Result: FAIL
Failed 1/7 test programs. 0/8 subtests failed.
make: *** [test_dynamic] Error 255
BLBLACK/DBIx-Class-Loader-0.21.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BLBLACK/DBIx-Class-Loader-0.21.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
BLBLACK/DBIx-Class-Loader-0.21.tar.gz : make_test NO