[Pkg-freeipa-devel] Bug#1032058: certmonger: Does not respect 'nocheck' in DEB_BUILD_OPTIONS
Chris Lamb
lamby at debian.org
Mon Feb 27 07:58:19 GMT 2023
Source: certmonger
Version: 0.79.17-1
Severity: normal
Tags: patch
Hi,
Due to the use of override_dh_auto_test in order to append "|| true",
certmonger does not respect the "nocheck" flag in DEB_BUILD_OPTIONS
and runs the tests regardless.
Patch attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index ea79d27..e16941b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,9 @@ override_dh_auto_install:
certutil -N -d debian/tmp/etc/certmonger/nssdb --empty-password
override_dh_auto_test:
+ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test || true
+endif
override_dh_clean:
dh_clean
More information about the Pkg-freeipa-devel
mailing list