Skip Menu |

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

Report information
The Basics
Id: 78810
Status: resolved
Priority: 0/
Queue: Test-Compile

People
Owner: Nobody in particular
Requestors: goneri [...] rulezlan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.19
Fixed in: 0.20



Subject: Test fails with Strawberry perl 5.16
Hi Test::Compile maintainers, I use Strawberry Perl 5.16 and Test::Compile installation file because of a directory separator issue. Best regards,
Subject: build.log
cpanm (App::cpanminus) 1.5013 on perl 5.016000 built for MSWin32-x86-multi-thread Work directory is C:\Documents and Settings\Administrator/.cpanm/work/1344255797.2984 You have make C:\strawberry\c\bin\dmake.exe You have LWP 6.04 You have C:\strawberry\c\bin\tar.exe, C:\strawberry\c\bin\gzip.exe and C:\strawberry\c\bin\bzip2.exe Searching Test::Compile on cpanmetadb ... --> Working on Test::Compile Fetching http://www.cpan.org/authors/id/E/EG/EGILES/Test-Compile-0.19.tar.gz -> OK Unpacking Test-Compile-0.19.tar.gz Entering Test-Compile-0.19 Checking configure dependencies from META.yml Checking if you have Module::Build 0.38 ... Yes (0.40) Configuring Test-Compile-0.19 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-Compile' version '0.19' -> OK Checking dependencies from MYMETA.json ... Checking if you have UNIVERSAL::require 0 ... Yes (0.13) Building and testing Test-Compile-0.19 Building Test-Compile # Failed test 'Found script: failure.pl' # at t\100-internal-all-pl-files.t line 18. # got: 't\scripts\failure.pl' # expected: 't/scripts/failure.pl' # Failed test 'Found script: lib.pl' # at t\100-internal-all-pl-files.t line 19. # got: 't\scripts\lib.pl' # expected: 't/scripts/lib.pl' # Failed test 'Found script: success.pl' # at t\100-internal-all-pl-files.t line 20. # got: 't\scripts\subdir\success.pl' # expected: 't/scripts/subdir/success.pl' # Failed test 'Found script: taint.pl' # at t\100-internal-all-pl-files.t line 21. # got: 't\scripts\taint.pl' # expected: 't/scripts/taint.pl' # Looks like you failed 4 tests of 6. t\100-internal-all-pl-files.t ...... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/6 subtests t\100-internal-all-pm-files.t ...... ok t\100-internal-basic.t ............. ok t\100-internal-is-in-taint-mode.t .. ok t\100-internal-pl-file-compiles.t .. ok t\100-internal-pm-file-compiles.t .. ok t\200-basic.t ...................... ok t\200-lib.t ........................ ok t\200-pl-file-ok-vms.t ............. ok t\200-pl-file-ok.t ................. ok t\200-suppress-stderr.t ............ ok t\200-taint.t ...................... ok Test Summary Report ------------------- t\100-internal-all-pl-files.t (Wstat: 1024 Tests: 6 Failed: 4) Failed tests: 3-6 Non-zero exit status: 4 Files=12, Tests=31, 2 wallclock secs ( 0.12 usr + 0.02 sys = 0.14 CPU) Result: FAIL Failed 1/12 test programs. 4/31 subtests failed. -> FAIL Installing Test::Compile failed. See C:\Documents and Settings\Administrator\.cpanm\build.log for details.
Thank you for your bug report. You were correct that there was a bug in the distribution. I had not allowed for the fact that some operating systems use a forward slash to separate directory names, while others use a backslash. I have corrected this error and released v0.20 which you should be able to install without problems. Please let me know if this does not solve you problem.