diff options
Diffstat (limited to '')
-rw-r--r-- | tags/o/override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS.tag | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tags/o/override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS.tag b/tags/o/override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS.tag new file mode 100644 index 0000000..80143a0 --- /dev/null +++ b/tags/o/override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS.tag @@ -0,0 +1,29 @@ +Tag: override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS +Severity: info +Check: debian/rules +Explanation: The <code>debian/rules</code> file for this package has an + <code>override_dh_auto_test</code> target that does not appear to + check <code>DEB_BUILD_OPTIONS</code> against <code>nocheck</code>. + . + As this check is not automatically performed by debhelper(1), the + specified testsuite is run regardless of another maintainer using + the <code>nocheck</code> 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). +See-Also: debian-policy 4.9.1, https://wiki.debian.org/BuildProfileSpec#Registered_profile_names |