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.0001~38 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=afe8a05ef2a26c2a13482af276f7d048f88e1e04;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__