This is an automated email from the git hooks/post-receive script. a_valentino-guest pushed a commit to branch master in repository python-mpop.
commit a412b5d0b16b901e601aa6d1e4f5cb609dcb1374 Author: Antonio Valentino <antonio.valent...@tiscali.it> Date: Sat Jul 12 21:00:05 2014 +0000 Fix automatic testing --- debian/rules | 3 ++- debian/tests/python2 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 1c80b0d..da7cc8d 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,8 @@ override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) set -e -x; \ for py in $(PY2VERS); do \ - env PYTHONPATH=. python$$py setup.py test; \ + env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python$$py -m unittest discover mpop; \ + env PYTHONPATH=. PPP_CONFIG_DIR=debian/etc/mpop python$$py -m unittest discover test; \ done endif diff --git a/debian/tests/python2 b/debian/tests/python2 index 1ccb541..dd269c8 100755 --- a/debian/tests/python2 +++ b/debian/tests/python2 @@ -8,5 +8,5 @@ cd "$ADTTMP" for py in $PYS; do echo "=== $py ===" - $py -m unittest -v discover mpop.test 2>&1 + $py -m unittest discover -v mpop 2>&1 done -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mpop.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel