This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
This is an error report generated automatically by CPANPLUS,
version 0.045.
Below is the error stack during 'make test':
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DateTime.bs
link -out:blib\arch\auto\DateTime\DateTime.dll -dll -nologo -nodefaultlib
-debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 DateTime.obj
C:\Perl\lib\CORE\perl56.lib oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32.lib msvcrt.lib -def:DateTime.def
Creating library blib\arch\auto\DateTime\DateTime.lib and object
blib\arch\auto\DateTime\DateTime.exp
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755
blib\arch\auto\DateTime\DateTime.dll
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp DateTime.bs
blib\arch\auto\DateTime\DateTime.bs
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644
blib\arch\auto\DateTime\DateTime.bs
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t\00load.t t\01sanity.t t\02last_day.t t\03components.t
t\04epoch.t t\05set.t t\06add.t t\07compare.t t\09greg.t t\10subtract.t t\11duration.t
t\12week.t t\13strftime.t t\14locale.t t\15jd.t t\16truncate.t t\17set_return.t
t\18today.t t\19leap_second.t t\20infinite.t t\21bad_params.t t\22from_doy.t
t\23storable.t t\24from_object.t t\25add_subtract.t t\26dt_leapsecond_pm.t t\27delta.t
t\99-pod.t
t\00load................ok
t\01sanity..............ok
t\02last_day............ok
t\03components..........ok
t\04epoch...............ok
4/32 skipped: Negative epoch times do not work on some operating systems,
including Win32
t\05set.................ok
t\06add.................ok
t\07compare.............ok
t\09greg................ok
t\10subtract............ok
t\11duration............ok
t\12week................ok
t\13strftime............ok
t\14locale..............ok
t\15jd..................ok
t\16truncate............ok
t\17set_return..........ok
t\18today...............ok
t\19leap_second.........ok
t\20infinite............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 12-13
Failed 2/39 tests, 94.87% okay
t\21bad_params..........ok
t\22from_doy............ok
t\23storable............ok
t\24from_object.........ok
t\25add_subtract........ok
t\26dt_leapsecond_pm....ok
t\27delta...............ok
t\99-pod................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\20infinite.t 2 512 39 2 5.13% 12-13
4 subtests skipped.
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
# this may take a minute...
# New locale: de
# New locale: it
# Failed test (t\20infinite.t at line 61)
# got: '0'
# expected: '1.#QNAN'
# Failed test (t\20infinite.t at line 61)
# got: '0'
# expected: '1.#QNAN'
# Looks like you failed 2 tests of 39.
Failed 1/28 test scripts, 96.43% okay. 2/1592 subtests failed, 99.87% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
Additional comments:
I tried to figure out where the infinity measure was getting factored out.
following line 56 through:
my $dur = $pos - $pos;
the method subtract_overload in DateTime.pm is called and passes through to
DateTime::Duration->new() the following values:
$months, $days, $minutes, $seconds, $nanoseconds
-1.#IND, -1.#IND, -1.#IND, -1.#IND, -1.#IND
Which appears to be correct. However getting to line 81 something very
strange happens. As part of debugging I put a print to STDERR to see the
current value of the components. That was enough to get a pass result. So
adding:
print STDERR $self->{$_};
to before line 81 will fix the problem! Why I have no idea. I thought by doing
a separate evaluation:
my $check = $self->{$_} ? $self->{$_} : 0;
would be enough, but that fails. For some reason printing gives it a value,
not printing sets it to an undefined value. At that point I raise my hands to a
higher power.
I hope that's (possibly) shed some light on the thing. I'm running ActivePerl
5.6.1, which may be the cause. I'm hoping the latest release of ActivePerl,
5.8.1 build 807, will work on my home PC. When I get round to it, and am
successful, I'll give this another shot to see if there is a difference.
--
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -Zi -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth="C:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib
mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'