[med-svn] [pycorrfit] 10/18: Run test manually, override dh_auto_test

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri Jul 22 14:23:43 UTC 2016


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

malex-guest pushed a commit to branch master
in repository pycorrfit.

commit fe12db18771bf782a4047b895ec82d26865c9d4b
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri Jun 24 19:34:54 2016 +0200

    Run test manually, override dh_auto_test
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 7ae1753..03dd86f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 #export DH_VERBOSE=1
 export DEB_BUILD_MAINT_OPTIONS=hardening=+BINDNOW
+PYTHON_DEFAULT_VERSION := $(shell pyversions -d)
 
 TEXDOC=PyCorrFit_doc.tex
 BIBDOC=PyCorrFit_doc.aux
@@ -35,3 +36,6 @@ override_dh_install:
 
 override_dh_compress:
 	dh_compress -Xsample_sessions -Xexternal_model_functions
+
+override_dh_auto_test:
+	$(PYTHON_DEFAULT_VERSION) setup.py test

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



More information about the debian-med-commit mailing list