Subject: | tests failing on Mac Snow Leopard (64bit) |
$>make test
cp lib/DBIx/Class/TimeStamp.pm blib/lib/DBIx/Class/TimeStamp.pm
PERL_DL_NONLAZY=1 /usr/local/perl/510/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/02pod.t
t/03podcoverage.t t/04basic.t t/05datetime.t t/06timestamp.t t/07date.t
t/08noclobber.t
t/02pod.t .......... ok
t/03podcoverage.t .. skipped: set TEST_POD to enable this test
t/04basic.t ........ ok
t/05datetime.t ..... 1/4 The 'nanosecond' parameter
("-1.84467440737095516e+28") to DateTime::new did not pass the 'cannot
be negative' callback
at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 171
DateTime::new(undef, 'hour', 0, 'minute', 1, 'month', 1, 'second', 0,
...) called at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 468
DateTime::from_epoch(undef, 'epoch', 60.0331569999999957) called at
t/05datetime.t line 12
main::__ANON__('DateTime') called at
/Users/compile/.cpan/build/DBIx-Class-TimeStamp-0.12-h9NTHN/blib/lib/DBIx/Class/TimeStamp.pm
line 84
DBIx::Class::TimeStamp::get_timestamp('DBIC::TestSchema::TestDatetime=HASH(0x100d563e8)') called at /usr/local/perl/510/lib/5.10.1/DBIx/Class/DynamicDefault.pm line 113
DBIx::Class::DynamicDefault::update('DBIC::TestSchema::TestDatetime=HASH(0x100d563e8)', 'HASH(0x100c019d0)') called at t/05datetime.t line 33
# Looks like you planned 4 tests but ran 2.
# Looks like your test exited with 2 just after 2.
t/05datetime.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/06timestamp.t .... 1/3 The 'nanosecond' parameter
("-1.84467440737095516e+28") to DateTime::new did not pass the 'cannot
be negative' callback
at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 171
DateTime::new(undef, 'hour', 0, 'minute', 1, 'month', 1, 'second', 0,
...) called at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 468
DateTime::from_epoch(undef, 'epoch', 60.0333329999999989) called at
t/06timestamp.t line 11
main::__ANON__('DateTime') called at
/Users/compile/.cpan/build/DBIx-Class-TimeStamp-0.12-h9NTHN/blib/lib/DBIx/Class/TimeStamp.pm
line 84
DBIx::Class::TimeStamp::get_timestamp('DBIC::TestSchema::TestTime=HASH(0x100d4d540)') called at /usr/local/perl/510/lib/5.10.1/DBIx/Class/DynamicDefault.pm line 113
DBIx::Class::DynamicDefault::update('DBIC::TestSchema::TestTime=HASH(0x100d4d540)') called at t/06timestamp.t line 33
# Looks like you planned 3 tests but ran 2.
# Looks like your test exited with 2 just after 2.
t/06timestamp.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/3 subtests
t/07date.t ......... 1/3 The 'nanosecond' parameter
("-1.84467440737095516e+28") to DateTime::new did not pass the 'cannot
be negative' callback
at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 171
DateTime::new(undef, 'hour', 0, 'minute', 1, 'month', 1, 'second', 0,
...) called at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 468
DateTime::from_epoch(undef, 'epoch', 60.0315939999999983) called at
t/07date.t line 11
main::__ANON__('DateTime') called at
/Users/compile/.cpan/build/DBIx-Class-TimeStamp-0.12-h9NTHN/blib/lib/DBIx/Class/TimeStamp.pm
line 84
DBIx::Class::TimeStamp::get_timestamp('DBIC::TestSchema::TestDate=HASH(0x100d5a6c8)') called at /usr/local/perl/510/lib/5.10.1/DBIx/Class/DynamicDefault.pm line 113
DBIx::Class::DynamicDefault::update('DBIC::TestSchema::TestDate=HASH(0x100d5a6c8)') called at t/07date.t line 33
# Looks like you planned 3 tests but ran 2.
# Looks like your test exited with 2 just after 2.
t/07date.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/3 subtests
t/08noclobber.t .... 1/9 The 'nanosecond' parameter
("-1.84467440737095516e+28") to DateTime::new did not pass the 'cannot
be negative' callback
at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 171
DateTime::new(undef, 'hour', 0, 'minute', 1, 'month', 1, 'second', 0,
...) called at
/usr/local/perl/510/lib/5.10.1/darwin-thread-multi-ld-2level/DateTime.pm
line 468
DateTime::from_epoch(undef, 'epoch', 60.0325089999999975) called at
t/08noclobber.t line 12
main::__ANON__('DateTime') called at
/Users/compile/.cpan/build/DBIx-Class-TimeStamp-0.12-h9NTHN/blib/lib/DBIx/Class/TimeStamp.pm
line 84
DBIx::Class::TimeStamp::get_timestamp('DBIC::TestSchema::TestDatetime=HASH(0x100bfda48)') called at /usr/local/perl/510/lib/5.10.1/DBIx/Class/DynamicDefault.pm line 113
DBIx::Class::DynamicDefault::update('DBIC::TestSchema::TestDatetime=HASH(0x100bfda48)', 'HASH(0x100d5ec20)') called at t/08noclobber.t line 38
# Looks like you planned 9 tests but ran 4.
# Looks like your test exited with 2 just after 4.
t/08noclobber.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/9 subtests
Test Summary Report
-------------------
t/05datetime.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 2.
t/06timestamp.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 2.
t/07date.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 2.
t/08noclobber.t (Wstat: 512 Tests: 4 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 4.
Files=7, Tests=12, 5 wallclock secs ( 0.04 usr 0.02 sys + 1.35 cusr
0.17 csys = 1.58 CPU)
Result: FAIL
Failed 4/7 test programs. 0/12 subtests failed.
make: *** [test_dynamic] Error 2