Lintian Reports

I override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS

All reports of override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS for the archive. The extended description of this tag is:

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(1), 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 #568897).

Refer to Debian Policy Manual section 4.9.1 (debian/rules and DEB_BUILD_OPTIONS) and https://wiki.debian.org/BuildProfileSpec#Registered_profile_names for details.

Severity: info

Check: debian/rules

This tag has not been emitted in any package tested by Lintian.