[med-svn] [python-dendropy] 02/03: Allow disable testing
Andreas Tille
tille at debian.org
Tue Jun 23 08:02:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-dendropy.
commit 5d9006e82ac34a611e7d337f7ee709eab0197be0
Author: Andreas Tille <tille at debian.org>
Date: Tue Jun 23 10:01:24 2015 +0200
Allow disable testing
---
debian/rules | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3d8eb33..ba50850 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,13 +7,15 @@ docpkg:=$(DEBPKGNAME)-doc
export PYBUILD_NAME=dendropy
-pyrun = DEB_BUILD_OPTIONS= pybuild -s custom -p $(shell pyversions -dv) --test --test-args
-
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ echo skip testing due to DEB_BUILD_OPTIONS
+else
# unpack test data before testing
tar xaf debian/DendroPy-test-data.tar.xz
dh_auto_test
- rm -rf dendropy/test/data
\ No newline at end of file
+ rm -rf dendropy/test/data
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-dendropy.git
More information about the debian-med-commit
mailing list