summaryrefslogtreecommitdiff
path: root/dh_auto_test
diff options
context:
space:
mode:
Diffstat (limited to 'dh_auto_test')
-rwxr-xr-xdh_auto_test4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh_auto_test b/dh_auto_test
index ddc223e7..41a2e5d3 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