Subject: | test failures when SQL::Translator isn't installed |
This happens on my debian 4 box when I try to install with cpanplus:
CPAN Terminal> i DBIx::Class::Schema::PopulateMore
Installing DBIx::Class::Schema::PopulateMore (0.14)
Running [/usr/bin/perl /usr/local/bin/cpanp-run-perl
/home/ahartmai/.cpanplus/5.8.8/build/DBIx-Class-Schema-PopulateMore-0.14/Makefile.PL]...
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPANPLUS, I'll just let it take care
of the dependency's installation later.
[Core Features]
- DBIx::Class ...loaded. (0.08121 >= 0.08107)
- DateTime::Format::SQLite ...loaded. (0.11 >= 0.10)
- SQL::Translator ...loaded. (0.11003 >= 0.09007)
- Test::More ...loaded. (0.94 >= 0.88)
- File::Find ...loaded. (1.10)
- YAML::Tiny ...loaded. (1.41 >= 1.39)
- Path::Class ...loaded. (0.18 >= 0.17)
- Moose ...loaded. (1.02 >= 0.85)
- MooseX::AttributeHelpers ...loaded. (0.23 >= 0.20)
- DateTimeX::Easy ...loaded. (0.088 >= 0.087)
- List::MoreUtils ...loaded. (0.22 >= 0.22)
- Module::Pluggable ...loaded. (3.9 >= 3.9)
- Data::Visitor ...loaded. (0.26 >= 0.25)
*** Module::AutoInstall configuration finished.
Writing Makefile for DBIx::Class::Schema::PopulateMore
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/author/*.t
# Testing DBIx::Class::Schema::PopulateMore 0.14, Perl 5.008008,
/usr/bin/perl
t/00-load.t .............. ok
DBIx::Class::Schema::PopulateMore::Test::Schema::connect_and_setup():
Can't deploy without a ddl_dir or SQL::Translator >= 0.11005 (see
DBIx::Class::Optional::Dependencies for details) at t/01-schema.t line 7
# Looks like your test exited with 255 before it could output anything.
t/01-schema.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 40/40 subtests
DBIx::Class::Schema::PopulateMore::Test::Schema::connect_and_setup():
Can't deploy without a ddl_dir or SQL::Translator >= 0.11005 (see
DBIx::Class::Optional::Dependencies for details) at t/02-yaml_example.t
line 12
# Looks like your test exited with 255 before it could output anything.
t/02-yaml_example.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 31/31 subtests
t/author/newlines.t ...... skipped: Skipping author tests
t/author/pod-coverage.t .. skipped: Skipping author tests
t/author/pod.t ........... skipped: Skipping author tests
Test Summary Report
-------------------
t/01-schema.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 40 tests but ran 0.
t/02-yaml_example.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 31 tests but ran 0.
Files=6, Tests=16, 6 wallclock secs ( 0.07 usr 0.01 sys + 5.50 cusr
0.29 csys = 5.87 CPU)
Result: FAIL
Failed 2/6 test programs. 0/16 subtests failed.
make: *** [test_dynamic] Error 255
[ERROR] MAKE TEST failed: Bad file descriptor PERL_DL_NONLAZY=1
/usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc',
'blib/lib', 'blib/arch')" t/*.t t/author/*.t
# Testing DBIx::Class::Schema::PopulateMore 0.14, Perl 5.008008,
/usr/bin/perl
t/00-load.t .............. ok
DBIx::Class::Schema::PopulateMore::Test::Schema::connect_and_setup():
Can't deploy without a ddl_dir or SQL::Translator >= 0.11005 (see
DBIx::Class::Optional::Dependencies for details) at t/01-schema.t line 7
# Looks like your test exited with 255 before it could output anything.
t/01-schema.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 40/40 subtests
DBIx::Class::Schema::PopulateMore::Test::Schema::connect_and_setup():
Can't deploy without a ddl_dir or SQL::Translator >= 0.11005 (see
DBIx::Class::Optional::Dependencies for details) at t/02-yaml_example.t
line 12
# Looks like your test exited with 255 before it could output anything.
t/02-yaml_example.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 31/31 subtests
t/author/newlines.t ...... skipped: Skipping author tests
t/author/pod-coverage.t .. skipped: Skipping author tests
t/author/pod.t ........... skipped: Skipping author tests
Test Summary Report
-------------------
t/01-schema.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 40 tests but ran 0.
t/02-yaml_example.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 31 tests but ran 0.
Files=6, Tests=16, 6 wallclock secs ( 0.07 usr 0.01 sys + 5.50 cusr
0.29 csys = 5.87 CPU)
Result: FAIL
Failed 2/6 test programs. 0/16 subtests failed.
make: *** [test_dynamic] Error 255