Skip Menu |

This queue is for tickets about the Iterator-Records CPAN distribution.

Report information
The Basics
Id: 133332
Status: resolved
Priority: 0/
Queue: Iterator-Records

People
Owner: wftk [...] vivtek.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: 0.02



Subject: Test suite fails without DBD::SQLite
t/04-db.t fails if DBD::SQLite is not installed --- so either this module needs to be declared as a prereq or the test skipped if it's missing: ... install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (you may need to install the DBD::SQLite module) (@INC contains: /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01-8/blib/lib /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01-8/blib/arch /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/arch /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/lib /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/arch /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at (eval 11) line 3. Perhaps the DBD::SQLite perl module hasn't been fully installed, or perhaps the capitalisation of 'SQLite' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Mem, Pg, Proxy, Sponge, mysql. at /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01-8/blib/lib/Iterator/Records.pm line 684. t/04-db.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run ...
On 2020-09-15 01:31:02, SREZIC wrote: Show quoted text
> t/04-db.t fails if DBD::SQLite is not installed --- so either this > module needs to be declared as a prereq or the test skipped if it's > missing: > > ... > install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (you > may need to install the DBD::SQLite module) (@INC contains: > /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01- > 8/blib/lib /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records- > 0.01-8/blib/arch /home/cpansand/.cpan/build/2020091501/Iterator- > Simple-0.07-4/blib/arch > /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/lib > /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/arch > /home/cpansand/.cpan/build/2020091501/Iterator-Simple-0.07-4/blib/lib > /usr/local/lib/perl5/site_perl/mach/5.30 > /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach > /usr/local/lib/perl5/5.30) at (eval 11) line 3. > Perhaps the DBD::SQLite perl module hasn't been fully installed, > or perhaps the capitalisation of 'SQLite' isn't right. > Available drivers: DBM, ExampleP, File, Gofer, Mem, Pg, Proxy, Sponge, > mysql. > at /usr/home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01- > 8/blib/lib/Iterator/Records.pm line 684. > t/04-db.t ............... > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > ...
Also, the test suite is failing if DBI.pm is not installed: ... # Failed test 'use Iterator::Records;' # at t/00-load.t line 10. # Tried to use 'Iterator::Records'. # Error: Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: ... ) at /home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01-UpH7cU/blib/lib/Iterator/Records.pm line 669. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020091501/Iterator-Records-0.01-UpH7cU/blib/lib/Iterator/Records.pm line 669. # Compilation failed in require at t/00-load.t line 10. # BEGIN failed--compilation aborted at t/00-load.t line 10. Use of uninitialized value $Iterator::Records::VERSION in concatenation (.) or string at t/00-load.t line 13. # Testing Iterator::Records , Perl 5.024001, /usr/bin/perl # Looks like you failed 1 test of 1. FAILED--Further testing stopped. Makefile:829: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 1 ...
Thanks! I honestly forget, very frequently, that it's possible to do Perl without SQLite.