From: Florian Ragwitz Date: Wed, 30 Apr 2008 03:34:46 +0000 (+0200) Subject: Run tests for Module::Build packages. X-Git-Tag: 7.0.4~2 X-Git-Url: https://git.donarmstrong.com/?p=debhelper.git;a=commitdiff_plain;h=836deb960e78b2e6f134f5eb5f6b646d46a73cc6 Run tests for Module::Build packages. --- diff --git a/dh_auto_test b/dh_auto_test index ddc223e..41a2e5d 100755 --- a/dh_auto_test +++ b/dh_auto_test @@ -54,6 +54,10 @@ if (-e "Makefile" || -e "makefile" || -e "GNUmakefile") { } } } +elsif (-e "Build.PL" && -e "Build") { + $ENV{MAKE}="make" unless exists $ENV{MAKE}; + doit($ENV{MAKE}, 'test', @{$dh{U_PARAMS}}); +} =head1 SEE ALSO