develooper Front page | perl.perl5.porters | Postings from October 2001

RE: DB_File-1.79 on Cygwin 1.3.3

Thread Previous | Thread Next
From:
Paul Marquess
Date:
October 26, 2001 04:29
Subject:
RE: DB_File-1.79 on Cygwin 1.3.3
Message ID:
AIEAJICLCBDNAAOLLOKLMEFDDDAA.Paul_Marquess@Yahoo.co.uk
From: H.Merijn Brand [mailto:h.m.brand@hccnet.nl]

> On Thu 25 Oct 2001 16:10, H.Merijn Brand <h.m.brand@hccnet.nl> wrote:
> > Would this be any valuable information for you?

Yes, it would.

> > PC09:/pro/CPAN/DB_File-1.76 526 $ make test
> > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/lib/perl5/5.6.1/cy
> > gwin-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness
> qw(&runtests $verbose);
> > $verbose=0; runtests @ARGV;' t/*.t
> > t/db-btree..........FAILED tests 20, 149-155
> >         Failed 8/157 tests, 94.90% okay
> > t/db-hash...........FAILED tests 16, 109
> >         Failed 2/111 tests, 98.20% okay
> > t/db-recno..........FAILED tests 18, 49, 69, 72, 75, 78, 125-126
> >         Failed 8/128 tests, 93.75% okay
> > Failed Test  Status Wstat Total Fail  Failed  List of Failed
> >
> ------------------------------------------------------------------
> --------------
> >
> > t/db-btree.t                 157    8   5.10%  20, 149-155
> > t/db-hash.t                  111    2   1.80%  16, 109
> > t/db-recno.t                 128    8   6.25%  18, 49, 69, 72,
> 75, 78, 125-126
> > Failed 3/3 test scripts, 0.00% okay. 18/396 subtests failed,
> 95.45% okay.
> > make: *** [test_dynamic] Error 255
> > PC09:/pro/CPAN/DB_File-1.76 527 $ uname -a
>
> PC09:/pro/CPAN/DB_File-1.79 507 $ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/lib/perl5/5.6.1/cy
> gwin-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness
> qw(&runtests $verbose);
> $verbose=0; runtests @ARGV;' t/*.t
> t/db-btree..........FAILED tests 20, 149-155
>         Failed 8/163 tests, 95.09% okay
> t/db-hash...........FAILED tests 16, 109
>         Failed 2/117 tests, 98.29% okay
> t/db-recno..........Undefined subroutine &main::Dumper called at
> t/db-recno.t li
> ne 1174.
> t/db-recno..........dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 18, 59, 79, 82, 85, 88, 135-136, 139-149
>         Failed 19/149 tests, 87.25% okay
> Failed Test  Status Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------
> --------------
>
> t/db-btree.t                 163    8   4.91%  20, 149-155
> t/db-hash.t                  117    2   1.71%  16, 109
> t/db-recno.t     255 65280   149   19  12.75%  18, 59, 79, 82,
> 85, 88, 135-136,


The very first error that each of the three harnesses is outputting
corresponds to this test

ok(20, ($mode & 0777) == (($^O eq 'os2' || $^O eq 'MacOS') ? 0666 : 0640)
   || $^O eq 'amigaos' || $^O eq 'MSWin32' || $^O eq 'NetWare');

I guess I just need to tack a $^O eq 'cygwin' on to the end of all that.

The "Dumper" issue is just a plain dumb bug -- I'll fix that.

All the others look suspiciously like a "Windows terminates lines with
CR/LF" issue. Can you try changing test 59 in t-recno.t from

  ok(59, $x eq "abc\ndef\n\nghi\n") ;

to

  ok(59, $x eq "abc\r\ndef\r\n\r\nghi\r\n") ;

Does that make any difference?

Paul




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About