summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2008-04-30 05:34:46 +0200
committerJoey Hess <joey@kodama.kitenet.net>2008-04-30 02:14:52 -0400
commit836deb960e78b2e6f134f5eb5f6b646d46a73cc6 (patch)
tree7d6deb8313257a5a917afa2f9342339bdec67df9
parent617de01c66fd7b7860acda68331c8125cc9f914c (diff)
Run tests for Module::Build packages.
-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