Skip Menu |

This queue is for tickets about the PadWalker CPAN distribution.

Report information
The Basics
Id: 18734
Status: resolved
Priority: 0/
Queue: PadWalker

People
Owner: Nobody in particular
Requestors: jand [...] ActiveState.com
Cc:
AdminCc:

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



Subject: Test failures with Perl 5.8.0 on Windows
I compiled PadWalker-1.0 with Microsoft VC++ 6.0 and ActivePerl 5.8.0.806. This is the combination used to build all modules for the PPM repository to make sure they are binary compatible with all releases of ActivePerl 5.8. Unfortunately there are several test failures. If these are "known to fail" on 5.8.0, then they should probably be skipped on that version. perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\closure.t t\dm.t t\foo.t t\our.t t\recurse.t t\sub.t t\test.t t\tt.t t\var_name.t t\closure....."my" variable $blah masks earlier declaration in same scope at t\c losure.t line 56. t\closure.....ok t\dm..........ok t\foo.........ok t\our.........ok t\recurse.....ok t\sub.........ok t\test........FAILED tests 9, 15 Failed 2/15 tests, 86.67% okay t\tt..........FAILED tests 3-4 Failed 2/5 tests, 60.00% okay t\var_name....ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t\test.t 15 2 13.33% 9 15 t\tt.t 5 2 40.00% 3-4 Failed 2/9 test scripts, 77.78% okay. 4/65 subtests failed, 93.85% okay. Detailts for test.t: perl -Mblib t\test.t 1..15 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 not ok 9 # Not found: $discriminate1, $alot_before, $before, $after, $outside_var ok 10 ok 11 ok 12 ok 13 ok 14 not ok 15 # Not found: $discriminate1, $after, $yyy, $x, $too_late, $alot_before, $before, $outside_var Detailts for tt.t: perl -Mblib t\tt.t 1..5 ok 1 ok 2 not ok 3 not ok 4 ok 5
On Sun Apr 16 05:22:51 2006, guest wrote: Show quoted text
> Unfortunately there are several test failures. If these are "known to > fail" on 5.8.0, then they should probably be skipped on that version.
Thanks for the report. You're right: PadWalker only works properly with Perl 5.8.2 and later. I've updated PadWalker 1.2 to make this clearer by failing with a version error during Makefile.PL, and reporting the correct prerequisite in META.yml. However, I'm not sure if that will help you. Am I right in thinking that all ActiveState PPM modules are built using 5.8.0? (Sounds a bit mad to me, but no doubt you have good reasons.) Is there any reasonable way that I could make it possible for you to build a PadWalker PPM?