Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 39162
Status: resolved
Priority: 0/
Queue: Devel-Cover

Owner: Nobody in particular
Requestors: dave.c.turner [...]

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

Subject: [PATCH] Devel::Cover test 't/at2.t' failure
Date: Wed, 10 Sep 2008 16:25:15 +0100
To: bug-Devel-Cover [...]
From: "Dave Turner" <dave.c.turner [...]>
Download (untitled) / with headers
text/plain 1004b
Hi, In trying to install Devel::Cover from CPAN, I have a failed test: t/at2.t The problem is that my username 'dct25' contains the string 't2' so when running the coverage test on the file 't2' the -select directive (which selects the test name, i.e., 't2') overrides the -ignore directive (which should ignore any modules installed in my local $HOME/perl/lib) so it ends up testing a lot more code than it should Clearly this is a local problem and it is unreasonable to avoid all possible substrings of usernames. Clearly also I can hack around this local issue by renaming the test, say, 't3'. I have done this and it passes. Perhaps the -select directive for running the test could be made more specific? Attached is: Devel-Cover--username-clash.patch: A one-line fix that works for me. Devel-Cover--cpan-install-log.txt: the output from cpan -i Devel::Cover Devel-Cover--prove-at2.{txt,err.bz2}: the results on STDOUT and STDERR of running DEVEL_COVER_DEBUG=1 prove -v t/at2.t Cheers, Dave

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Download Devel-Cover--prove-at2.err.bz2
application/x-bzip2 49.9k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 114b
Thanks very much for this report and patch. If you still have problems please reopen this ticket. Thanks again,

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

Please report any issues with to