Re: CDBI test gives warnings and even has a test failure

[prev] [thread] [next] [Date index for 2005/01/02]

From: Gabor Szabo
Subject: Re: CDBI test gives warnings and even has a test failure
Date: 20:19 on 02 Jan 2005

I think I found the source of the problem:
On the development machine I was using

DBD::SQLite 0.31    and there were no warnings

on the live machine I had
DBD::SQLite 1.07    full of warnings
                     (generated both from the CDBI test suit and
                      my own code)

Using this package stopped the warnings on the live machine too:

DBD::SQLite2 0.33

If I am not mistaken  DBD::SQLite 0.31 and DBD::SQLite2 0.33
are both using the v2 SQLite engine while DBD::SQLite 1.07 is using
the v3 engine.



I tried to replace the SQLite by SQLite2 in the test suit of CDBI
and while the warnings were gone I got this error:

t/04-lazy.............NOK 6
#     Failed test (t/04-lazy.t at line 24)
t/04-lazy.............ok 25/25# Looks like you failed 1 test of 25.
t/04-lazy.............dubious
         Test returned status 1 (wstat 256, 0x100)



Gabor


On Mon, 27 Dec 2004, Gabor Szabo wrote:

>
> Tony, as we seemed to bogged down in the other thread within the
> DBIx::ContextualFetch module, let me start another one and repost the
> other problem:
>
> While running make test CDBI produces the following warning and
> error messages.
> (This latter is I think due to catching Warnings and getting too many
> of them).
>
> Environment:
> DBI 1.46
> perl 5.8.6
> DBIx::ContextualFetch 1.02
>
>
> The Warnings:
>
> t/01-columns..........ok
> t/02-Film.............ok 32/90Use of uninitialized value in subroutine entry
> at /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line
> 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
> t/02-Film.............ok
>
>
> And without Harness you can see it is after ok 32
>
>
> ok 29 - Correct title
> ok 30 -  and Director
> ok 31 -  and Rating
> ok 32 -  and sheep
> Use of uninitialized value in subroutine entry at
> /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
>
>
> And the error is in  t/07-Move.t
> ....
> # Looks like you planned 23 tests but ran 10 extra.
>
>
> (with 15 deprecated warnings)
>
>
> Gabor
>

        -- 
        Gabor Szabo

Perl in Israel
http://www.pti.co.il/
http://www.perl.org.il/
Phone:  08-975-2897
Mobile: 054-4624-648

Re: CDBI test gives warnings and even has a test failure
Gabor Szabo 20:19 on 02 Jan 2005

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52