override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS
The debian/rules
file for this package has an
override_dh_auto_test
target that does not appear to
check DEB_BUILD_OPTIONS
against nocheck
.
As this check is not automatically performed by debhelper(7), the
specified testsuite is run regardless of another maintainer using
the nocheck
build option.
Please add a check such as:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
./run-upstream-testsuite
endif
Lintian will ignore comments and other lines such as:
# Disabled
: Disabled
echo "Disabled"
mkdir foo/
ENV=var dh_auto_test -- ARG=value
This check is not required in Debhelper compat level 13 or greater (see Bug#568897).
Severity: | info |
Experimental: | false |
See also
debian/rules and DEB_BUILD_OPTIONS (Section 4.9.1) in the Debian Policy Manual
https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
- list of all the affected packages
- the source of this tag