=cut
use strict;
+use Debian::Debhelper::Dh_Lib;
use Debian::Debhelper::Dh_Buildsystems;
=head1 SYNOPSIS
=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
=cut
-if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nocheck/) {
+if (get_buildoption("nocheck")) {
exit 0;
}