Skip to content
This repository
Browse code

We now require Test::More to run the tests.

  • Loading branch information...
commit 0c0595569025ccb2060d6bf0b0134283efb99bf2 1 parent 1019995
Paul Johnson authored

Showing 1 changed file with 21 additions and 0 deletions. Show diff stats Hide diff stats

  1. +21 0 Makefile.PL
21 Makefile.PL
@@ -178,6 +178,26 @@ else
178 178 print "not found\n\n$e\n";
179 179 }
180 180
  181 +print "checking for Test::More ........ ";
  182 +
  183 +$e = <<EOM;
  184 +
  185 +Test::More is required to run the Devel::Cover tests.
  186 +You can download Test::More from CPAN.
  187 +
  188 +EOM
  189 +
  190 +eval "use Test::More";
  191 +if (my $m = $INC{"Test/More.pm"})
  192 +{
  193 + my $v = eval { no warnings; $Test::More::VERSION };
  194 + print "$v $m\n";
  195 +}
  196 +else
  197 +{
  198 + print "not found\n\n$e\n";
  199 +}
  200 +
181 201 print "checking for Template.pm version 2.00 ........ ";
182 202
183 203 $e = <<EOM;
@@ -370,6 +390,7 @@ WriteMakefile
370 390 PREREQ_PM => {
371 391 Storable => 0,
372 392 "Digest::MD5" => 0,
  393 + "Test::More" => 0,
373 394 },
374 395 dist => { COMPRESS => "gzip --best --force" },
375 396 test => { TESTS => "t/*/*.t" },

0 comments on commit 0c05955

Please sign in to comment.
Something went wrong with that request. Please try again.