DateTime Problem with nmake test

2003-10-03 Thread Michael and Alice Smith
Any ideas as to what the problem is??

Not all tests passed for nmake test when installing DateTime.pm.  There were no issues 
with nmake. I have Perl 5.8 with VC++ 5 (latest service pack) Please message below:

 D:\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\00loadok
t\01sanity..ok
t\02last_dayok
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\09gregok
t\10subtractok
t\11durationok
t\12weekok
t\13strftimeok
t\14locale..ok
t\15jd..ok
t\16truncateok
t\17set_return..ok
t\18today...ok
t\19leap_second.ok
t\20infinitedubious
 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_doyok
t\23storableok
t\24from_object.ok
t\25add_subtractok
t\26dt_leapsecond_pmok
Failed TestStat Wstat Total Fail  Failed  List of Failed
---
t\20infinite.t2   512392   5.13%  12-13
4 subtests skipped.
# this may take a minute...
# New locale: de
# New locale: it
# Failed test (t\20infinite.t at line 61)
#  got: '-2147483648'
# expected: '2147483648'
# Failed test (t\20infinite.t at line 61)
#  got: '-2147483646'
# expected: '2147483648'
# Looks like you failed 2 tests of 39.
Failed 1/26 test scripts, 96.15% okay. 2/1494 subtests failed, 99.87% oka
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'
Stop.

Re: DateTime Problem with nmake test

2003-10-03 Thread Dave Rolsky
On Fri, 3 Oct 2003, Michael and Alice Smith wrote:

 Any ideas as to what the problem is??

 # Failed test (t\20infinite.t at line 61)
 #  got: '-2147483648'
 # expected: '2147483648'
 # Failed test (t\20infinite.t at line 61)
 #  got: '-2147483646'
 # expected: '2147483648'
 # Looks like you failed 2 tests of 39.
 Failed 1/26 test scripts, 96.15% okay. 2/1494 subtests failed, 99.87% oka
 NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'
 Stop.

the infinite stuff has known but as yet unfixed problems on Win32 (and
elsewhere)

In general, it seems like Perl's handling of IEEE infinite numbers isn't
quite up to snuff across all platforms.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


RE: DateTime Problem with nmake test

2003-10-03 Thread Hill, Ronald
Hello,


 # New locale: it
 # Failed test (t\20infinite.t at line 61)
 #  got: '-2147483648'
 # expected: '2147483648'
 # Failed test (t\20infinite.t at line 61)
 #  got: '-2147483646'
 # expected: '2147483648'
 # Looks like you failed 2 tests of 39.
 Failed 1/26 test scripts, 96.15% okay. 2/1494 subtests 
 failed, 99.87% oka
 NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'
 Stop.
This is a known problem :(

No known workaround :(

Ron Hill