Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 11517
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: jari.aalto [...] cante.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.08
Fixed in: (no value)



Subject: 20% test failures under Cygwin
Attached is the output from cpan install under W2k/Cygwin (v5.8.6 built for cygwin-thread-multi-64int) Time-Piece-1.08/ Time-Piece-1.08/Changes Time-Piece-1.08/Makefile.PL Time-Piece-1.08/MANIFEST Time-Piece-1.08/MANIFEST.SKIP Time-Piece-1.08/Piece.pm Time-Piece-1.08/Piece.xs Time-Piece-1.08/README Time-Piece-1.08/Seconds.pm Time-Piece-1.08/t/ Time-Piece-1.08/t/01base.t Time-Piece-1.08/t/02core.t Time-Piece-1.08/t/03compare.t Time-Piece-1.08/t/04mjd.t Time-Piece-1.08/t/05overload.t CPAN.pm: Going to build M/MS/MSERGEANT/Time-Piece-1.08.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Time::Piece cp Seconds.pm blib/lib/Time/Seconds.pm cp Piece.pm blib/lib/Time/Piece.pm /usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8/ExtUtils/typemap Piece.xs > Piece.xsc && mv Piece.xsc Piece.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" "-I/usr/lib/perl5/5.8/cygwin/CORE" Piece.c Running Mkbootstrap for Time::Piece () chmod 644 Piece.bs rm -f blib/arch/auto/Time/Piece/Piece.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib Piece.o -o blib/arch/auto/Time/Piece/Piece.dll /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a gcc -shared -o Piece.dll -Wl,--out-implib=libPiece.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib Piece.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a Creating library file: libPiece.dll.a mv Piece.dll libPiece.dll.a blib/arch/auto/Time/Piece/ chmod 755 blib/arch/auto/Time/Piece/Piece.dll cp Piece.bs blib/arch/auto/Time/Piece/Piece.bs chmod 644 blib/arch/auto/Time/Piece/Piece.bs /usr/bin/make -- OK Running make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01base........ok t/02core........ok 1/91# Failed test 41 in t/02core.t at line 60 # t/02core.t line 60 is: skip($is_win32, $t->strftime('%D') eq '02/29/00'); # Yech! # Failed test 47 in t/02core.t at line 73 # t/02core.t line 73 is: skip($is_win32, $t->strftime('%R') eq '12:34'); # should test with > 12 # Failed test 49 in t/02core.t at line 75 # t/02core.t line 75 is: skip($is_win32, $t->strftime('%T') eq '12:34:56'); # < 12 and > 12 t/02core........FAILED tests 41, 47, 49 Failed 3/91 tests, 96.70% okay t/03compare.....ok t/04mjd.........ok t/05overload....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/02core.t 91 3 3.30% 41 47 49 Failed 1/5 test scripts, 80.00% okay. 3/113 subtests failed, 97.35% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Apparently this is fixed/better with a more recent cygwin?