Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Exception CPAN distribution.

Report information
The Basics
Id: 25406
Status: resolved
Priority: 0/
Queue: Test-Exception

People
Owner: Nobody in particular
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.25
Fixed in: (no value)



Subject: Test Exception doesn't build in windows with Vanilla Perl
C:\Documents and Settings\enadkhe\Desktop\Config-Hierarchical- 0.01>cpan Test::Ex ception CPAN: Storable loaded ok Going to read C:\DOCUME~1\enadkhe\LOCALS~1\Temp\cpan\Metadata Database was generated on Tue, 13 Mar 2007 06:09:31 GMT Running install for module Test::Exception Running make for A/AD/ADIE/Test-Exception-0.25.tar.gz CPAN: checksum security checks disabled because Digest::SHA not installed. Please consider installing the Digest::SHA module. Scanning cache C:\DOCUME~1\enadkhe\LOCALS~1\Temp\cpan\build for sizes CPAN: Compress::Zlib loaded ok CPAN: Archive::Tar loaded ok Test-Exception-0.25/ Test-Exception-0.25/Build.PL Test-Exception-0.25/Changes Test-Exception-0.25/lib/ Test-Exception-0.25/lib/Test/ Test-Exception-0.25/lib/Test/Exception.pm Test-Exception-0.25/Makefile.PL Test-Exception-0.25/MANIFEST Test-Exception-0.25/META.yml Test-Exception-0.25/README Test-Exception-0.25/t/ Test-Exception-0.25/t/caller.t Test-Exception-0.25/t/developer/ Test-Exception-0.25/t/developer/documented.t Test-Exception-0.25/t/developer/perlcritic.t Test-Exception-0.25/t/developer/perlcriticrc Test-Exception-0.25/t/developer/pod.t Test-Exception-0.25/t/developer/spelling.t Test-Exception-0.25/t/Exception.t Test-Exception-0.25/t/import.t Test-Exception-0.25/t/isa.t Test-Exception-0.25/t/lives_and.t Test-Exception-0.25/t/preserve.t Test-Exception-0.25/t/return.t Test-Exception-0.25/t/rt.t Test-Exception-0.25/t/stacktrace.t Test-Exception-0.25/t/throws_ok.t Removing previously used C:\DOCUME~1\enadkhe\LOCALS~1 \Temp\cpan\build\Test-Excep tion-0.25 CPAN: Module::Build loaded ok CPAN.pm: Going to build A/AD/ADIE/Test-Exception-0.25.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Test-Exception' version '0.25' CPAN: YAML loaded ok Copying lib\Test\Exception.pm -> blib\lib\Test\Exception.pm Manifying blib\lib/Test/Exception.pm -> blib\libdoc\Test.Exception.3 HTMLifying blib\lib\Test\Exception.pm -> blib\libhtml\site\lib\Test\Exception.html C:\vanilla-perl\perl\bin\perl.exe ./Build -- OK Running Build test t\Exception.....ok t\caller........ok t\import........ok t\isa...........ok t\lives_and.....NOK 3/3 # Failed test 'lives_and works' # at t\lives_and.t line 29. # STDERR is: # # Failed test 'lives_and, no_exception & failure' # # at t\lives_and.t line 19. # # got: '42' # # expected: '24' # # Failed test 'lives_and, exception' # # at t\lives_and.t line 24. # # died: oops at t\lives_and.t line 11. # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\\lives_and\.t line 19.*\n?/ # # # got: '42' # # # expected: '24' # # /#\s+Failed\ test.*?\n?.*?at\ t\\lives_and\.t line 24.*\n?/ # # # died: oops at t/lives_and.t line 11. # # as expected t\lives_and.....FAILED test 3 Failed 1/3 tests, 66.67% okay t\preserve......ok t\return........NOK 12/13 # Failed test 'dies_ok fails' # at t\return.t line 59. # STDERR is: # # Failed test 'lives_ok failed' # # at t\return.t line 58. # # died: Illegal division by zero at t\return.t line 14. # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\\return\.t line 58.*\n?/ # # # died: Illegal division by zero at t/return.t line 14. # # as expected t\return........FAILED test 12 Failed 1/13 tests, 92.31% okay t\rt............ok t\stacktrace....ok t\throws_ok.....ok Failed Test Stat Wstat Total Fail List of Failed ----------------------------------------------------------------------- -------- t\lives_and.t 3 1 3 t\return.t 13 1 12 Failed 2/10 test scripts. 2/51 subtests failed. Files=10, Tests=51, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 2/10 test programs. 2/51 subtests failed. C:\vanilla-perl\perl\bin\perl.exe ./Build test -- NOT OK Running Build install make test had returned bad status, won't install without force
Installing the module manually worked. C:\DOCUME~1\enadkhe\LOCALS~1\Temp\cpan\build\Test-Exception-0.25>dmake test C:\vanilla-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/caller........ok t/Exception.....ok t/import........ok t/isa...........ok t/lives_and.....ok t/preserve......ok t/return........ok t/rt............ok t/stacktrace....ok t/throws_ok.....ok All tests successful. Files=10, Tests=51, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) C:\DOCUME~1\enadkhe\LOCALS~1\Temp\cpan\build\Test-Exception-0.25>dmake install Installing C:\vanilla-perl\perl\site\lib\Test\Exception.pm Writing c:\vanilla-perl\perl\site\lib\auto\Test\Exception\.packlist Appending installation info to c:\vanilla-perl\perl\lib/perllocal.pod
From: cpan [...] chrisdolan.net
For the lives_and.t test, the fix is simple for Strawberry Perl 5.8.8: change "#died: oops at t/lives_and.t" to use File::Spec->catfile('t', 'lives_and.t') The fix is just as simple for t/return.t
On Sat Dec 01 01:16:11 2007, CDOLAN wrote: Show quoted text
> For the lives_and.t test, the fix is simple for Strawberry Perl 5.8.8: > change "#died: oops at t/lives_and.t" to use File::Spec->catfile('t', > 'lives_and.t') > > The fix is just as simple for t/return.t >
Fixed in 0.26. Hitting CPAN as soon as pause starts working again. Thanks for reporting it :-) Cheers, Adrian