X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_auto_test;h=9d3fd93c56e738a0ba4ecc98e67322f8aae63d80;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=ab361cc5cad6be9fe0c44b3be4675e6118a30bbd;hpb=7bc99d44cfc0275e1b44b390bed1362c457da9ab;p=debhelper.git diff --git a/dh_auto_test b/dh_auto_test index ab361cc..9d3fd93 100755 --- a/dh_auto_test +++ b/dh_auto_test @@ -7,6 +7,7 @@ dh_auto_test - automatically runs a package's test suites =cut use strict; +use Debian::Debhelper::Dh_Lib; use Debian::Debhelper::Dh_Buildsystems; =head1 SYNOPSIS @@ -36,8 +37,8 @@ system selection and control options. =item B<--> I -Pass I to the program that is run. These can be used to supplement -or override the any standard parameters that B passes. +Pass I to the program that is run, after the parameters that +B usually passes. =back @@ -48,7 +49,7 @@ tests will be performed. =cut -if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nocheck/) { +if (get_buildoption("nocheck")) { exit 0; }