From: Mattia Rizzolo Date: Tue, 24 Oct 2017 15:53:20 +0000 (+0200) Subject: d/rules: support DEB_BUILD_OPTIONS=nocheck X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~158 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=30f4abea0670ff80ef1da94c2aa2293f3cefe295;p=python-pysam.git d/rules: support DEB_BUILD_OPTIONS=nocheck Signed-off-by: Mattia Rizzolo --- diff --git a/debian/rules b/debian/rules index ce2dadc..cb44816 100755 --- a/debian/rules +++ b/debian/rules @@ -22,8 +22,12 @@ clean: clean-tests override_dh_install: clean-tests dh_install -Xtest.gtf.gz +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: pysam_data.all cbcf_data.all dh_auto_test +else +override_dh_auto_test: +endif override_dh_auto_clean: dh_auto_clean