Subject: | t/e2e epic fail when prefix for perl is not the physical location |
When perl has been configured for prefix /opt/perl64 (or whatever) and
that actually is a symbolic link to /opt2/perl64 (or whatever),
Devel::Cover will fail:
t/e2e/at1.t ................. ok
# Test 7 got: "/opt2/perl64/lib/5.14.1/B/Debug.pm 0.0
0.0 0.0 0.0 0.0\n" (/opt2/perl64/.cpan/build/Devel-Cover-0.78-
vNv3al/blib/lib/Devel/Cover/Test.pm at line 303 fail #7)
<Tux> # Expected: "tests/t2
93.8 50.0 n/a 100.0 84.0\n"
<Tux> # /opt2/perl64/.cpan/build/Devel-Cover-0.78-vNv3al/blib/lib/
Devel/Cover/Test.pm line 303 is: $ENV
{DEVEL_COVER_NO_COVERAGE} ? ok 1 : ok $t, $c;
<Tux> # Test 8 got: "/opt2/perl64/lib/5.14.1/B/Deparse.pm
0.0 0.0 0.0 0.0 0.0\n" (/opt2/perl64/.cpan/build/Devel-
Cover-0.78-vNv3al/blib/lib/Devel/Cover/Test.pm at line 303 fail #8)
The reason for this symbolic link is that the perl built should be
known at /opt/perl64 so it can be in a worldwide available binary
distribution that expect /opt as base (and not /opt2). The system I am
building on however does not have enough space, so it symlinks to
another disk.
So far Devel::Cover is the only packages that suffers from this
construct