[med-svn] [python-pysam] 02/04: d/rules: support DEB_BUILD_OPTIONS=nocheck

Mattia Rizzolo mattia at debian.org
Tue Oct 24 16:52:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository python-pysam.

commit 30f4abea0670ff80ef1da94c2aa2293f3cefe295
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Oct 24 17:53:20 2017 +0200

    d/rules: support DEB_BUILD_OPTIONS=nocheck
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git



More information about the debian-med-commit mailing list