Skip Menu |

This queue is for tickets about the POE-Component-LaDBI CPAN distribution.

Report information
The Basics
Id: 1671
Status: resolved
Worked: 1 min
Priority: 0/
Queue: POE-Component-LaDBI

People
Owner: seanegan [...] bigfoot.com
Requestors: RCAPUTO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.2
Fixed in: (no value)



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
The test infrastructure was in place for skipping db tests (ie. creating a NO_DB_TESTS file). However, the existence of the NO_DB_TESTS file was not being checked for and skiping the test. Put it in, tested several times, and retested database tests on DBI::Pg and DBI::Sybase. Works For Me(tm) _now_. Thanks for the help, -Sean.