]> git.imager.perl.org - imager.git/commitdiff
don't test threads when running a coverage test, since Devel::Cover
authorTony Cook <tony@develop=help.com>
Mon, 26 Jul 2010 08:08:30 +0000 (08:08 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 26 Jul 2010 08:08:30 +0000 (08:08 +0000)
aborts and prevents testing of the subdirectories

t/t99thread.t

index 555622463083a75b1e3ba4a57794bc14296751d4..85a9e95bfd7f96cbf9658b07c9a10920e8bdf4c5 100644 (file)
@@ -24,6 +24,9 @@ $] > 5.008007
 $loaded_threads
   or plan skip_all => "couldn't load threads";
 
+$INC{"Devel/Cover.pm"}
+  and plan skip_all => "threads and Devel::Cover don't get along";
+
 plan tests => 11;
 
 my $thread = threads->create(sub { 1; });