summaryrefslogtreecommitdiff
path: root/dh_auto_test
diff options
context:
space:
mode:
Diffstat (limited to 'dh_auto_test')
-rwxr-xr-xdh_auto_test3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_auto_test b/dh_auto_test
index ab361cc5..85eaf48a 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
@@ -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;
}