Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 8022
Status: resolved
Priority: 0/
Queue: Test-Simple

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

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



Subject: Test-Simple 0.49 test failures on Win32
t\fail-more.t fails on Win32 with an error on test 12. My guess is that the problem is that @INC contains paths with "\", but I'm not certain of this. Below is prove output from this test script. I also included the value of $more_err_re as well. C:\.cpan\build\Test-Simple-0.49>prove -b -v t\fail-more.t t\fail-more....1..12 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 - failing output not ok 12 - failing errors # Failed test (t\fail-more.t at line 84) # Tried to use 'Hooble::mooble::yooble'. # Error: Can't locate Hooble/mooble/yooble.pm in @INC (@INC contains: t/lib blib\arch blib\lib c:/Perl/lib c:/Perl/site/lib . c:/Perl/lib c:/Perl/site/lib .) at (eval 14) line 2. # BEGIN failed--compilation aborted at t\fail-more.t line 84. # Failed test (t\fail-more.t at line 85) # Tried to require 'ALL::YOUR::BASE::ARE::BELONG::TO::US::wibble'. # Error: Can't locate ALL/YOUR/BASE/ARE/BELONG/TO/US/wibble.pm in @INC (@IN C contains: t/lib blib\arch blib\lib c:/Perl/lib c:/Perl/site/lib . c:/Perl/lib c:/Perl/site/lib .) at (eval 15) line 2. # Looks like you failed 29 tests of 29. FAILED test 12 Failed 1/12 tests, 91.67% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\fail-more.t 12 1 8.33% 12 Failed 1/1 test scripts, 0.00% okay. 1/12 subtests failed, 91.67% okay. $more_err_re # Failed test \(t\\fail\-more\.t at line 84\) # Tried to use 'Hooble::mooble::yooble'. # Error: Can't locate Hooble.* in \@INC .* # BEGIN failed--compilation aborted at t\fail-more.t line 84. # Failed test \(t\\fail\-more\.t at line 85\) # Tried to require 'ALL::YOUR::BASE::ARE::BELONG::TO::US::wibble'. # Error: Can't locate ALL.* in \@INC .* # Looks like you failed 29 tests of 29. Thanks, Steve Peters
From: Steve Peters
The line in $more_err_re that is the cause of the failure is: # BEGIN failed--compilation aborted at t\fail-more.t line 84. The \ isn't escaped, so the regexp is look at it as '\f', but I do have a fix. Just change... # BEGIN failed--compilation aborted at $0 line 84. to # BEGIN failed--compilation aborted at $filename line 84. I tested this out and Win32 compiles just fine. Thanks again, Steve Peters