Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make filenames more specific when running tests.

This should avoid problems when people run tests with usernames or paths that
include the name of the test.  This was seen most often with the t0, t1 and t2
tests.
  • Loading branch information...
commit 88f3ff070221425e09b5c7f4f8b226c57d4299e6 1 parent ff97a3f
@pjcj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Devel/Cover/Test.pm
View
2  lib/Devel/Cover/Test.pm
@@ -69,7 +69,7 @@ sub get_params
$self->{criteria} = $self->{criteria}[-1];
- $self->{select} ||= "-select $self->{test}";
+ $self->{select} ||= "-select /tests/$self->{test}\\b";
$self->{test_parameters} = "$self->{select}"
. " -ignore blib Devel/Cover @{$self->{ignore}}"
. " -merge 0 -coverage $self->{criteria} "
Please sign in to comment.
Something went wrong with that request. Please try again.