[Python-modules-commits] [python-pygraphviz] 11/12: print for which python flavour we're running the tests

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 3 02:10:41 UTC 2016


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

morph pushed a commit to branch master
in repository python-pygraphviz.

commit b9e870fdd91a4641596d36e8e16d90affbfec840
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Jan 3 01:58:23 2016 +0000

    print for which python flavour we're running the tests
---
 debian/changelog | 3 ++-
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 739b1d3..98d7d37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ python-pygraphviz (1.3.1-1) UNRELEASED; urgency=medium
     - add files from new upstream release
   * debian/rules
     - don't install README.*, not very informative
+    - print for which python flavour we're running the tests
 
- -- Sandro Tosi <morph at debian.org>  Sun, 03 Jan 2016 01:39:22 +0000
+ -- Sandro Tosi <morph at debian.org>  Sun, 03 Jan 2016 01:48:46 +0000
 
 python-pygraphviz (1.3~rc2-3) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index c5c4e95..36b4fa4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,10 +44,12 @@ override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	set -e; \
 	for python in $(PYTHON2) $(PYTHON3); do \
+		echo "-- running tests for "$$python" plain --" ; \
 		LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_platlib)") ; \
 		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
 		cd build ; $$python -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \
 		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
+		echo "-- running tests for "$$python" debug --" ; \
 		LIB=$$($$python-dbg -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_platlib)") ; \
 		touch $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
 		cd build ; $$python-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/$$LIB') ; import pygraphviz as t ; t.test()" ; cd .. ; \

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



More information about the Python-modules-commits mailing list