Hi,

As requested, I've re-run the 2 tests that failed and attached the output.

Regards

Chris
make test TEST_VERBOSE=1 TEST_FILES=t/11duration.t
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/11duration.t
t/11duration........1..118
ok 1 - nanoseconds should be 9
ok 2 - months should be 2
ok 3 - days should be 4
ok 4 - seconds should be 8
ok 5 - hours should be 6
ok 6 - years should be 1
ok 7 - minutes should be 7
ok 8 - weeks should be 3
ok 9 - delta_months
ok 10 - delta_days
ok 11 - delta_minutes
ok 12 - delta_seconds
ok 13 - delta_nanoseconds
ok 14 - in_units months
ok 15 - in_units days
ok 16 - in_units minutes
ok 17 - in_units seconds
ok 18 - in_units nanoseconds, seconds
ok 19 - in_units years
ok 20 - in_units months, years
ok 21 - in_units weeks
ok 22 - in_units days, weeks
ok 23 - in_units hours
ok 24 - in_units minutes, hours
ok 25 - in_units nanoseconds
ok 26 - in_units years, list context
ok 27 - in_units months, list context
ok 28 - in_units weeks, list context
ok 29 - in_units days, list context
ok 30 - in_units hours, list context
ok 31 - in_units minutes, list context
ok 32 - in_units seconds, list context
ok 33 - in_units nanoseconds, list context
ok 34 - should be positive
ok 35 - should not be zero
ok 36 - should not be negative
ok 37 - wrap mode
ok 38 - limit mode
ok 39 - preserve mode
ok 40 - new date should be 2005-03-01
ok 41 - new date should be 2005-02-28
ok 42 - new date should be 2005-02-28
ok 43 - new date should be 2004-03-31
ok 44 - inverse years should be positive
ok 45 - inverse months should be positive
ok 46 - inverse weeks should be positive
ok 47 - inverse days should be positive
ok 48 - inverse hours should be positive
ok 49 - inverse minutes should be positive
ok 50 - inverse minutes should be positive
ok 51 - inverse delta months should be negative
ok 52 - inverse delta months should be negative
ok 53 - inverse delta minutes should be negative
ok 54 - inverse delta seconds should be negative
ok 55 - should be negative
ok 56 - should not be zero
ok 57 - should not be positivea
ok 58 - test + overloading
ok 59 - test + overloading
ok 60 - test - overloading
ok 61 - test - overloading
ok 62 - test - overloading
ok 63 - test - overloading
ok 64 - test * overloading
ok 65 - test * overloading
ok 66 - test multiply
ok 67 - test multiply
ok 68 - test nanoseconds overflow
ok 69 - test nanoseconds remainder
ok 70 - seconds is positive
ok 71 - nanoseconds remainder is negative
ok 72 - seconds are unaffected
ok 73 - nanoseconds are back
ok 74 - seconds go up
ok 75 - nanoseconds are normalized
ok 76 - sub nanoseconds works
ok 77 - seconds normalized after multiplication
ok 78 - nanoseconds normalized after multiplication
ok 79 - nanoseconds is 10
ok 80 - delta_nanoseconds is -10
ok 81 - duration is negative
ok 82 - delta_days is 0
ok 83 - not positive
ok 84 - is zero
ok 85 - not negative
ok 86 - method chaining should work
ok 87 - delta_months is 0
ok 88 - delta_days is 0
ok 89 - delta_minutes is 59
ok 90 - delta_seconds is 0
ok 91 - delta_nanoseconds is 0
ok 92 - delta_months is 0
ok 93 - delta_days is 0
ok 94 - delta_minutes is -59
ok 95 - delta_seconds is 0
ok 96 - delta_nanoseconds is 0
ok 97 - check error for duration comparison overload
ok 98 - 20 minutes is greater than 10 minutes
ok 99 - 20 minutes is greater than 10 minutes
ok 100 - 29 days is less than 1 month with base of 2004-01-01
ok 101 - 29 days is equal to 1 month with base of 2004-02-01
ok 102 - 29 days is greater than 1 month with base of 2005-02-01
ok 103 - normalize nanoseconds to positive
ok 104 - normalize nanoseconds to positive
ok 105 - normalize nanoseconds to negative
ok 106 - normalize nanoseconds to negative
ok 107 - normalize many negative nanoseconds
ok 108 - normalize many negative nanoseconds
ok 109 - is not positive
ok 110 - is not zero
ok 111 - is not negative
ok 112 - in_units returns 0 for years
ok 113 - in_units returns 0 for months
ok 114 - in_units returns 0 for days
ok 115 - in_units returns 0 for hours
ok 116 - in_units returns 0 for seconds
ok 117 - in_units returns 0 for nanoseconds
not ok 118 - cannot create a duration with fractional units # TODO reject 
fractional units in DateTime::Duration->new
#     Failed (TODO) test (t/11duration.t at line 329)
#                   ''
#     doesn't match '(?-xism:is an integer)'
FAILED test 118
        Failed 1/118 tests, 99.15% okay
Failed Test    Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/11duration.t               118    1   0.85%  118
Failed 1/1 test scripts, 0.00% okay. 1/118 subtests failed, 99.15% okay.
make test TEST_VERBOSE=1 TEST_FILES=t/33seconds_offset.t
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/33seconds_offset.t
t/33seconds_offset..1..6
ok 1 - +00:00:30 leap second T-61
ok 2 - +00:00:30 leap second T-31
not ok 3 - +00:00:30 leap second T-30 # TODO offsets with seconds are broken 
near leap seconds
#     Failed (TODO) test (t/33seconds_offset.t at line 38)
#          got: '1997-07-01T00:00:00'
#     expected: '1997-06-30T23:59:60'
not ok 4 - +00:00:30 leap second T-29 # TODO offsets with seconds are broken 
near leap seconds
#     Failed (TODO) test (t/33seconds_offset.t at line 50)
#          got: '1997-07-01T00:00:01'
#     expected: '1997-07-01T00:00:00'
not ok 5 - +00:00:30 leap second T-0 # TODO offsets with seconds are broken 
near leap seconds
#     Failed (TODO) test (t/33seconds_offset.t at line 62)
#          got: '1997-07-01T23:59:90'
#     expected: '1997-07-01T00:00:30'
ok 6 - +00:00:30 leap second T+1
FAILED tests 3-5
        Failed 3/6 tests, 50.00% okay
Failed Test          Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/33seconds_offset.t                   6    3  50.00%  3-5
Failed 1/1 test scripts, 0.00% okay. 3/6 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 29

Reply via email to