Browse files

nuked spurious run_test_at_end property

  • Loading branch information...
1 parent 04f5550 commit 38061def88a922322c037c0dc99a86c7bc606a6b Xavier Caron committed Mar 27, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −1 Makefile.PL
  2. +0 −5 lib/Devel/Cover/Test.pm
View
2 Makefile.PL
@@ -414,7 +414,7 @@ GEOM = 260x85+0+0
diff : out
\t \$(PERL) utils/makeh strip_criterion 'time' \$(TEST).out
\t \$(PERL) utils/makeh strip_criterion ' pod' \$(TEST).out
-\t gvim -geom \$(GEOM) -d -font \$(FONT) `\$(PERL) -Mblib -MDevel::Cover::Test -e '\$\$t = Devel::Cover::Test->new("\$(TEST)", run_test_at_end => 0); print \$\$t->cover_gold'` \$(TEST).out
+\t gvim -geom \$(GEOM) -d -font \$(FONT) `\$(PERL) -Mblib -MDevel::Cover::Test -e '\$\$t = Devel::Cover::Test->new("\$(TEST)"); print \$\$t->cover_gold'` \$(TEST).out
gold : pure_all
\t \$(PERL) utils/create_gold \$(TEST)
View
5 lib/Devel/Cover/Test.pm
@@ -65,7 +65,6 @@ sub new
ignore => [],
changes => [],
test_parameters => [],
- run_test_at_end => 1,
debug => $ENV{DEVEL_COVER_DEBUG} || 0,
differences => $differences,
no_coverage => $ENV{DEVEL_COVER_NO_COVERAGE} || 0,
@@ -317,8 +316,6 @@ sub run_test
{
my $self = shift;
- $self->{run_test_at_end} = 0;
-
if ($self->{skip})
{
plan tests => 1;
@@ -440,8 +437,6 @@ sub create_gold
{
my $self = shift;
- $self->{run_test_at_end} = 0;
-
# Pod::Coverage not available on all versions, but it must be there on
# 5.6.1 and 5.8.0
return if $self->{criteria} =~ /\bpod\b/ &&

0 comments on commit 38061de

Please sign in to comment.