From 836deb960e78b2e6f134f5eb5f6b646d46a73cc6 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Wed, 30 Apr 2008 05:34:46 +0200 Subject: [PATCH] Run tests for Module::Build packages. --- dh_auto_test | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5