Skip to content

Commit

Permalink
Run docker installed cpancover.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Aug 25, 2014
1 parent a65d721 commit 3980db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/Devel/Cover/Collection.pm
Expand Up @@ -196,6 +196,7 @@ sub run {
$output .= "Testing $module in $build_dir\n";
# say "\n$line\n$output$line\n"; return;

# $self->sys($^X, "-V");
$ENV{DEVEL_COVER_TEST_OPTS} = "-Mblib=" . $self->bin_dir;
my @cmd = ($^X, $ENV{DEVEL_COVER_TEST_OPTS}, $self->bin_dir . "/cover");
$output .= $self->bsys(
Expand Down
3 changes: 1 addition & 2 deletions utils/dc
Expand Up @@ -35,8 +35,7 @@ case "$1" in
"cpancover")
shift;
jobs=$($0 nice_cpus)
perl -Mblib bin/cpancover -results_dir $CPANCOVER_DIR \
-workers $jobs "$@"
cpancover -results_dir $CPANCOVER_DIR -workers $jobs "$@"
;;
"cpancover-compress")
find $CPANCOVER_DIR/ -name __failed__ -prune -o \
Expand Down

0 comments on commit 3980db1

Please sign in to comment.