[Python-modules-commits] [python-ws4py] 16/20: Make tests run as part of build

Stein Magnus Jodal jodal at moszumanska.debian.org
Thu Nov 5 14:59:43 UTC 2015


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

jodal pushed a commit to branch master
in repository python-ws4py.

commit 09841a4748f46c1e086e4cdbd454a851aec158bf
Author: Stein Magnus Jodal <jodal at debian.org>
Date:   Thu Nov 5 15:15:08 2015 +0100

    Make tests run as part of build
---
 debian/control | 3 ++-
 debian/rules   | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index e46b251..97cf32a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,13 +8,14 @@ Build-Depends: debhelper (>= 9),
                python-all (>= 2.6.6-3~),
                python-cherrypy3,
                python-gevent,
+               python-nose,
                python-setuptools,
                python-sphinx,
                python-sphinxcontrib.seqdiag,
                python-tornado,
-               python-unittest2,
                python3-all,
                python3-cherrypy3,
+               python3-nose,
                python3-setuptools,
                python3-sphinx,
                python3-sphinxcontrib.seqdiag,
diff --git a/debian/rules b/debian/rules
index 30e7022..7746220 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=ws4py
+export PYBUILD_BEFORE_TEST=cp -r {dir}/test {build_dir}
+export PYBUILD_TEST_NOSE=1
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-ws4py.git



More information about the Python-modules-commits mailing list