On Wed 28 Apr 2004 14:05, Tim Bunce <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 28, 2004 at 01:14:03PM +0200, Paul Johnson wrote:
> > On Tue, Mar 09, 2004 at 12:25:45PM +0000, Tim Bunce wrote:
> > > On Tue, Mar 09, 2004 at 11:38:32AM +0100, Paul Johnson wrote:
> > 
> > [...] but I have found a little time to make
> > Devel::Cover a little more robust and to update the cpancover data.
> > 
> >   http://pjcj.sytes.net/cpancover/
> 
> Excellent. Thanks. [CC'd to dbi-dev]
> 
> I see you have some DBD's in there but only DBD::CSV produced coverage
> data:
> 
> DBD-CSV-0.2002        83.73   58.91   45.45   95.56   n/a     73.31
> DBD-ODBC-1.09         n/a     n/a     n/a     n/a     n/a     n/a
> DBD-Oracle-1.15       n/a     n/a     n/a     n/a     n/a     n/a
> DBD-Pg-1.32           n/a     n/a     n/a     n/a     n/a     n/a
> DBD-mysql-2.9003      n/a     n/a     n/a     n/a     n/a     n/a
> DBI-1.42              73.01   52.70   43.55   82.44   48.78   64.55

Since you seem to value D::C, I gave it a try

lep a5:/pro/3gl/CPAN/DBD-Unify-0.40 116 > make test
/pro/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 
'blib/arch')" t/*.t
t/01-base.........ok
t/02-connect......ok
t/03-general......ok
t/04-long.........ok
t/05-reauth.......ok
t/10-dbi-drv......ok
t/11-dbi-dbh......ok
t/12-dbi-sth......ok
t/20-uni-basic....ok
t/21-uni-regex....ok
t/27-uni-max......ok
t/30-reconnect....ok
t/99-done.........
To disable future max tests: setenv DBD_UNIFY_SKIP_27 1
skipped
        all skipped: no reason given
All tests successful, 1 test skipped.
Files=13, Tests=598, 10 wallclock secs ( 8.25 cusr +  0.63 csys =  8.88 CPU)
/pro/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
lep a5:/pro/3gl/CPAN/DBD-Unify-0.40 117 > echo $PERL5LIB
/pro/asql/v82BC/lib/perl:/pro/3gl/CPAN/Devel-Cover-0.40/blib/lib:/pro/3gl/CPAN/Devel-Cover-0.40/blib/arch
lep a5:/pro/3gl/CPAN/DBD-Unify-0.40 118 > env HARNESS_PERL_SWITCHES=-MDevel::Cover 
make test
/pro/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 
'blib/arch')" t/*.t
t/01-base.........dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/02-connect......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/03-general......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/04-long.........dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/05-reauth.......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/10-dbi-drv......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/11-dbi-dbh......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/12-dbi-sth......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/20-uni-basic....dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/21-uni-regex....dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
t/27-uni-max......dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/30-reconnect....dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
        after all the subtests completed successfully
t/99-done.........
To disable future max tests: setenv DBD_UNIFY_SKIP_27 1
t/99-done.........dubious
        Test returned status 0 (wstat 138, 0x8a)
        test program seems to have generated a core
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
---------------------------------------------------------------------------------------------------------------------------------------------------
t/01-base.t         0   138    ??   ??       %  ??
t/02-connect.t      0   138     4    0   0.00%  ??
t/03-general.t      0   138    12    0   0.00%  ??
t/04-long.t         0   138    ??   ??       %  ??
t/05-reauth.t       0   138    ??   ??       %  ??
t/10-dbi-drv.t      0   138    18    0   0.00%  ??
t/11-dbi-dbh.t      0   138    16    0   0.00%  ??
t/12-dbi-sth.t      0   138    10    0   0.00%  ??
t/20-uni-basic.t    0   138    ??   ??       %  ??
t/21-uni-regex.t    0   138    ??   ??       %  ??
t/27-uni-max.t      0   138   477    0   0.00%  ??
t/30-reconnect.t    0   138     9    0   0.00%  ??
t/99-done.t         0   138    ??   ??       %  ??
Failed 13/13 test scripts, 0.00% okay. 0/546 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 2
Exit 2
lep a5:/pro/3gl/CPAN/DBD-Unify-0.40 119 >

Ohhh dear :(

Devel::Cover passed all tests

> It would be very helpful if the cpancover system could also record log
> of the tests being run so that failures and skipped tests could be seen
> (together with the reason for the skip) alongside the coverage results.
> 
> > > > When I do get something up and running, I'll make sure the DBI is a part
> > > > of it.
> > 
> > And it is.  http://pjcj.sytes.net/cpancover/DBI-1.42/coverage.html
> > 
> > It's possible that the coverage is not as high as it could since I may
> > not have installed various modules that would be useful.
> 
> That only affected the DBD::Proxy tests. You have Net::Daemon
> so it was probably RPC::PlServer that caused it to be skipped.
> It would be great is you could add that.
> 
> There are plans afoot to enhance the DBI and driver testing.
> These results will help us focus our efforts where it's needed most.
> 
> Thanks again Paul.
> 
> Tim.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.024 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/


Reply via email to