From: Jesse Luehrs <doy@tozt.net>
Date: Thu, 10 Sep 2009 03:18:02 +0000 (-0500)
Subject: use 'make test' rather than 'prove'
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0536c9ef25f5282418246f18da4284a4e6092be9;p=gitmo%2Fmoose-dev-utils.git

use 'make test' rather than 'prove'
---

diff --git a/cpan-stable-smolder b/cpan-stable-smolder
index 87b3c6b..26ddd1c 100755
--- a/cpan-stable-smolder
+++ b/cpan-stable-smolder
@@ -132,7 +132,12 @@ sub _run_commands {
 sub _run_tests {
     my $output;
 
-    run3 [ qw( prove -br ) ], undef, \$output, \$output;
+    if ( -f "Build.PL" ) {
+        run3 [ qw( ./Build test ) ], undef, \$output, \$output;
+    }
+    else {
+        run3 [ qw( make test ) ], undef, \$output, \$output;
+    }
 
     my $passed = $output =~ /Result: PASS/;
     my $warned = $output =~ /at .+ line \d+/;