From: Dave Rolsky Date: Tue, 12 Apr 2011 16:32:19 +0000 (-0500) Subject: Require Test::DM 0.08 and use test_modules() so we can test in parallel X-Git-Tag: 2.0100~237 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd36d4e9c9a7b35acbf93fbc78462e191ccef787;hp=e2f01bb9587c9d8a3a69c28c1c4ed79afc752fe1;p=gitmo%2FMoose.git Require Test::DM 0.08 and use test_modules() so we can test in parallel --- diff --git a/xt/author/test-my-dependents.t b/xt/author/test-my-dependents.t index f044b31..a33ce67 100644 --- a/xt/author/test-my-dependents.t +++ b/xt/author/test-my-dependents.t @@ -10,9 +10,9 @@ BEGIN { } use Test::Requires { - 'Test::DependentModules' => '0.01', # skip all if not installed + 'Test::DependentModules' => '0.08', # skip all if not installed }; -use Test::DependentModules qw( test_all_dependents test_module ); +use Test::DependentModules qw( test_all_dependents test_modules ); use DateTime; use Class::MOP (); @@ -37,7 +37,7 @@ if ( $ENV{MOOSE_TEST_MD_ALL} ) { else { my @modules = map { chomp; $_ } ; plan tests => scalar @modules; - test_module($_) for @modules; + test_modules(@modules); } __DATA__