rules: respect 'nocheck' DEB_BUILD_OPTIONS

Signed-off-by: Luca Bruno <lucab@debian.org>
This commit is contained in:
Luca Bruno 2015-03-06 23:02:40 +01:00
parent 0577fc8471
commit 0be7358cfc

2
debian/rules vendored
View File

@ -125,4 +125,6 @@ override_dh_installdocs:
override_dh_auto_test:
# NB: not parallel - there is some race that leads to failures like:
# note: cc: error: x86_64-unknown-linux-gnu/test/run-pass/generic-default-type-params-cross-crate.stage2-x86_64-unknown-linux-gnulibaux/default_type_params_xc.o: No such file or directory
ifeq (, $(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check-notidy
endif