Code review comment for lp:~xnox/unity/fix-packaging

Revision history for this message
Stephen M. Webb (bregma) wrote :

 override_dh_auto_test:
 - make -C obj-$(DEB_HOST_GNU_TYPE) check-headless
 + dh_auto_test -- check-headless

Running dh_auto_test _always_ runs "make check" regardless of any additional make target specified. 'make check' will fail in a headless package build environment (which is why the check-headless target exists). The original line explicitly running the 'make' command is correct. If you want to support 'nocheck' you will have to use the old ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) trick.

« Back to merge proposal