From 30f4abea0670ff80ef1da94c2aa2293f3cefe295 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 24 Oct 2017 17:53:20 +0200 Subject: [PATCH] d/rules: support DEB_BUILD_OPTIONS=nocheck Signed-off-by: Mattia Rizzolo --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2