[Python-modules-commits] [ptyprocess] 06/07: Run tests during build

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Jun 20 17:57:27 UTC 2015


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

mitya57 pushed a commit to branch master
in repository ptyprocess.

commit 9f1bd4f8ca8c964654d8bb76c12e4e4aed235dc9
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Jun 20 20:54:24 2015 +0300

    Run tests during build
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 35359d8..fe9fb9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 #export DH_VERBOSE=1
 export PYBUILD_NAME=ptyprocess
+export PYBUILD_TEST_ARGS={interpreter} -m unittest discover -s tests -v
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom dh_auto_test

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



More information about the Python-modules-commits mailing list