]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_auto_test
Typo. Closes: #653339
[debhelper.git] / dh_auto_test
index ab361cc5cad6be9fe0c44b3be4675e6118a30bbd..9d3fd93c56e738a0ba4ecc98e67322f8aae63d80 100755 (executable)
@@ -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<params>
 
-Pass I<params> to the program that is run. These can be used to supplement
-or override the any standard parameters that B<dh_auto_test> passes.
+Pass I<params> to the program that is run, after the parameters that
+B<dh_auto_test> 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;
 }