Bug#579577: libdevel-cover-perl: FTBFS when the build dir contains regexp metacharacters (breaks binNMUs?)
Niko Tyni
ntyni at debian.org
Wed Apr 28 18:39:54 UTC 2010
Package: libdevel-cover-perl
Version: 0.66-1
Severity: important
Tags: patch
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition
The test suite fails when the build directory path contains regexp
metacharacters. This breaks binNMUing the package at least in my (more
or less default) sbuild setup because the '+b1' version suffix ends up
in the build directory name.
Example:
% pwd
/home/niko/tmp/test+dir/libdevel-cover-perl-0.66
% perl -Iblib/lib -Iblib/arch t/atrivial.t
1..32
# Running under perl version 5.010001 for linux
# Current time local: Wed Apr 28 21:36:52 2010
# Current time GMT: Wed Apr 28 18:36:52 2010
# Using Test.pm version 1.25_02
[...]
not ok 7
# Test 7 got: "tests/trivial100.0 n/a n/a n/a 100.0\n" (/home/niko/tmp/test+dir/libdevel-cover-perl-0.66/blib/lib/Devel/Cover/Test.pm at line 295 fail #7)
# Expected: "tests/trivial 100.0 n/a n/a n/a 100.0\n"
# /home/niko/tmp/test+dir/libdevel-cover-perl-0.66/blib/lib/Devel/Cover/Test.pm line 295 is: $ENV{DEVEL_COVER_NO_COVERAGE} ? ok 1 : ok $t, $c;
[...]
not ok 18
# Test 18 got: "/home/niko/tmp/test+dir/libdevel-cover-perl-0.66/tests/trivial\n" (/home/niko/tmp/test+dir/libdevel-cover-perl-0.66/blib/lib/Devel/Cover/Test.pm at line 295 fail #18)
# Expected: "tests/trivial\n"
[...]
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list