Subject: | In a fallback situation, pure-Perl DateTime.pm fails to install |
When DateTime falls back to the pure-Perl version, the tests don't
handle this and all fail, with the same message.
Snippit below
t/37local-add...........Can't locate loadable object for module DateTime
in @INC
(@INC contains:
C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\DateTime-0.31\blib\li
b C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\DateTime-0.31\blib\arch
C:/strawberr
y-perl/perl/lib C:/strawberry-perl/perl/site/lib .) at
C:/strawberry-perl/perl/l
ib/DynaLoader.pm line 48
BEGIN failed--compilation aborted at
C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\D
ateTime-0.31\blib\lib/DateTime.pm line 48.
Compilation failed in require at t/37local-add.t line 7.
BEGIN failed--compilation aborted at t/37local-add.t line 7.
t/37local-add...........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-26
Failed 26/26 tests, 0.00% okay
t/38local-subtract......Can't locate loadable object for module DateTime
in @INC
(@INC contains:
C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\DateTime-0.31\blib\li
b C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\DateTime-0.31\blib\arch
C:/strawberr
y-perl/perl/lib C:/strawberry-perl/perl/site/lib .) at
C:/strawberry-perl/perl/l
ib/DynaLoader.pm line 48
BEGIN failed--compilation aborted at
C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\D
ateTime-0.31\blib\lib/DateTime.pm line 48.
Compilation failed in require at t/38local-subtract.t line 7.
BEGIN failed--compilation aborted at t/38local-subtract.t line 7.
t/38local-subtract......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-120
Failed 120/120 tests, 0.00% okay
t/99-pod................ok
7/7 skipped: Test::Pod 0.95 not installed.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00load.t 1 256 1 1 100.00% 1
t/01sanity.t 2 512 16 32 200.00% 1-16
t/02last_day.t 2 512 73 146 200.00% 1-73
t/03components.t 2 512 130 260 200.00% 1-130
t/04epoch.t 2 512 32 64 200.00% 1-32
t/05set.t 2 512 35 70 200.00% 1-35
t/06add.t 2 512 537 1074 200.00% 1-537
t/07compare.t 2 512 26 52 200.00% 1-26
t/09greg.t 2 512 35 70 200.00% 1-35
t/10subtract.t 2 512 105 210 200.00% 1-105
t/11duration.t 2 512 128 256 200.00% 1-128
t/12week.t 2 512 26 52 200.00% 1-26
t/13strftime.t 2 512 134 268 200.00% 1-134
t/14locale.t 2 512 8 16 200.00% 1-8
t/15jd.t 2 512 16 32 200.00% 1-16
t/16truncate.t 2 512 40 80 200.00% 1-40
t/17set_return.t 2 512 7 14 200.00% 1-7
t/18today.t 2 512 6 12 200.00% 1-6
t/19leap_second.t 2 512 148 296 200.00% 1-148
t/20infinite.t 2 512 42 84 200.00% 1-42
t/21bad_params.t 2 512 25 50 200.00% 1-25
t/22from_doy.t 2 512 98 196 200.00% 1-98
t/23storable.t 2 512 ?? ?? % ??
t/24from_object.t 2 512 10 20 200.00% 1-10
t/25add_subtract.t 2 512 10 20 200.00% 1-10
t/26dt_leapsecond_pm.t 2 512 9 18 200.00% 1-9
t/27delta.t 2 512 38 76 200.00% 1-38
t/28dow.t 2 512 1112 2224 200.00% 1-1112
t/29overload.t 2 512 2 4 200.00% 1-2
t/30future_tz.t 2 512 5 10 200.00% 1-5
t/32leap_second2.t 2 512 57 114 200.00% 1-57
t/33seconds_offset.t 2 512 6 12 200.00% 1-6
t/34set_tz.t 2 512 8 16 200.00% 1-8
t/35rd_values.t 2 512 12 24 200.00% 1-12
t/36invalid_local.t 2 512 4 8 200.00% 1-4
t/37local-add.t 2 512 26 52 200.00% 1-26
t/38local-subtract.t 2 512 120 240 200.00% 1-120
1 test and 7 subtests skipped.
Failed 37/39 test scripts, 5.13% okay. 3087/3094 subtests failed, 0.23%
okay.
dmake.EXE: Error code 255, while making 'test_dynamic'
C:\strawberry-perl\dmake\bin\dmake.EXE test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DROLSKY/DateTime-0.31.tar.gz : make_test NO
Show quoted text
cpan>