Skip to content
Browse files

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

  • Loading branch information...
1 parent 1019995 commit 0c0595569025ccb2060d6bf0b0134283efb99bf2 @pjcj committed Aug 14, 2010
Showing with 21 additions and 0 deletions.
  1. +21 −0 Makefile.PL
View
21 Makefile.PL
@@ -178,6 +178,26 @@ else
print "not found\n\n$e\n";
}
+print "checking for Test::More ........ ";
+
+$e = <<EOM;
+
+Test::More is required to run the Devel::Cover tests.
+You can download Test::More from CPAN.
+
+EOM
+
+eval "use Test::More";
+if (my $m = $INC{"Test/More.pm"})
+{
+ my $v = eval { no warnings; $Test::More::VERSION };
+ print "$v $m\n";
+}
+else
+{
+ print "not found\n\n$e\n";
+}
+
print "checking for Template.pm version 2.00 ........ ";
$e = <<EOM;
@@ -370,6 +390,7 @@ WriteMakefile
PREREQ_PM => {
Storable => 0,
"Digest::MD5" => 0,
+ "Test::More" => 0,
},
dist => { COMPRESS => "gzip --best --force" },
test => { TESTS => "t/*/*.t" },

0 comments on commit 0c05955

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