Skip Menu |

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

Report information
The Basics
Id: 24926
Status: resolved
Priority: 0/
Queue: Test-Harness

Owner: andy [...]
Requestors: mschwern [...]

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

Subject: prove -b and -l should use absolute paths
Download (untitled) / with headers
text/plain 1.2k
Tests sometimes chdir. For this reason its important that paths in @INC be absolute from the point where the test was started. MakeMaker and Module::Build both do this. prove currently uses relative paths for -l and -b. This breaks, amongst other things, Module::Build's basic.t as it chdirs early in the test before it loads Module::Build. 0 windhund /private/var/local/cpan_shell/build/Module-Build-0.2806$ prove -b t/basic.t t/basic.... t/basic....NOK 2/49# Failed test 'Make sure Module::Build was loaded from blib/' # at t/basic.t line 24. # '/usr/local/lib/site_perl/Module/' # doesn't match '(?-xism:\bblib\b)' t/basic....ok 26/49# Looks like you failed 1 test of 49. t/basic....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/49 tests, 97.96% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/basic.t 1 256 49 1 2 Failed 1/1 test scripts. 1/49 subtests failed. Files=1, Tests=49, 1 wallclock secs ( 0.55 cusr + 0.34 csys = 0.89 CPU) Failed 1/1 test programs. 1/49 subtests failed.
Fixed in 2.99 r759

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to