Subject: | "make test" fails when not testing against a database |
It looks like config.pcf isn't being built if the user isn't testing against a database. Test t/01_test_config.t fails if that file doesn't exist.
3) eyrie:~/.cpan/build/POE-Component-LaDBI-1.0.2# perl Makefile.PL
Do you want to test this module against a Database? [Y/n] n
Checking if your kit is complete...
Looks good
Writing Makefile for POE::Component::LaDBI
3) eyrie:~/.cpan/build/POE-Component-LaDBI-1.0.2# make test
cp lib/POE/Component/LaDBI/Commands.pm blib/lib/POE/Component/LaDBI/Commands.pm
cp lib/POE/Component/LaDBI/Request.pm blib/lib/POE/Component/LaDBI/Request.pm
cp example.pl blib/lib/POE/Component/example.pl
cp lib/POE/Component/LaDBI.pm blib/lib/POE/Component/LaDBI.pm
cp lib/POE/Component/LaDBI/Engine.pm blib/lib/POE/Component/LaDBI/Engine.pm
cp ladbi_config.pl blib/lib/POE/Component/ladbi_config.pl
cp lib/POE/Component/LaDBI/Response.pm blib/lib/POE/Component/LaDBI/Response.pm
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/perl-561-single/lib/i386-freebsd -I/usr/local/perl-561-single/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00_use......................ok
t/01_test_config..............FAILED--Further testing stopped.
*** Error code 35
Stop in /usr/mysrc/cpan-cache/build/POE-Component-LaDBI-1.0.2.
3) eyrie:~/.cpan/build/POE-Component-LaDBI-1.0.2# perl t/01_test_config.t
1..1
Bail out!
Couln't find the config file, config.pcf
-- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net