[Python-modules-commits] [python-psutil] 10/14: use upstream Makefile to run tests
Sandro Tosi
morph at moszumanska.debian.org
Sun Nov 26 01:56:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-psutil.
commit dc0220d563758eec058b37f89caa3dfbfc8cf670
Author: Sandro Tosi <morph at debian.org>
Date: Sat Nov 25 20:20:36 2017 -0500
use upstream Makefile to run tests
---
debian/changelog | 4 +++-
debian/rules | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 90d67aa..0e6cb51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ python-psutil (5.4.1-1) UNRELEASED; urgency=medium
* New upstream release; Closes: #881602
* debian/control
- bump Standards-Version to 4.1.1 (no changes needed)
+ * debian/rules
+ - use upstream Makefile to run tests
- -- Sandro Tosi <morph at debian.org> Sat, 25 Nov 2017 18:01:46 -0500
+ -- Sandro Tosi <morph at debian.org> Sat, 25 Nov 2017 20:20:20 -0500
python-psutil (5.0.1-1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index e28d7b3..b547300 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,10 +32,10 @@ ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-for python in $(PY2VERS) $(PY3VERS); do \
echo "running tests on "$$python ; \
LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_platlib)") ; \
- PYTHONPATH=$(CURDIR)/$$LIB $$python $(CURDIR)/$$LIB/psutil/tests/runner.py ; \
+ $(MAKE) PYTHONPATH=$(CURDIR)/$$LIB PYTHON=$$python test ; \
echo "running tests on "$$python-dbg ; \
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)") ; \
- PYTHONPATH=$(CURDIR)/$$LIB $$python-dbg $(CURDIR)/$$LIB/psutil/tests/runner.py ; \
+ $(MAKE) PYTHONPATH=$(CURDIR)/$$LIB PYTHON=$$python-dbg test ; \
done
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-psutil.git
More information about the Python-modules-commits
mailing list