]> git.donarmstrong.com Git - debhelper.git/commitdiff
Run tests for Module::Build packages.
authorFlorian Ragwitz <rafl@debian.org>
Wed, 30 Apr 2008 03:34:46 +0000 (05:34 +0200)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 30 Apr 2008 06:14:52 +0000 (02:14 -0400)
dh_auto_test

index ddc223e7c4356b8eb3e22ebc78d3f65e081062e2..41a2e5d32826ec126c2ad78d772c253c28f37f9e 100755 (executable)
@@ -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