[debhelper-devel] Bug#568897: Bug#568897: Bug#568897: debhelper: DEB_BUILD_OPTIONS=nocheck should prevent override_dh_auto_test rule to be run

Christoph Berg myon at debian.org
Wed Nov 29 13:51:51 UTC 2017


Hi,

about the "nocheck" part of the discussion, could the "wontfix" ruling
be reconsidered nowadays? "dh" is now the standard packaging style,
and "override_dh_auto_test" is the standard way to signal "hey this
package has a testsuite" in debian/rules, so it just be logical to
have our standard tools honor our standard flag DEB_BUILD_OPTIONS=nocheck.

The alternative is that everyone needs to put semi-scary make code
into their rules file:

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
        ...
endif

This should really be part of the toolchain. (And we have DH compat
levels just for doing that kind of changes.)

Thanks,
Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20171129/70784489/attachment-0001.sig>


More information about the debhelper-devel mailing list