[Python-modules-commits] [python-gear] 03/12: python-gear: deps to let us run tests

Antoine Musso hashar-guest at moszumanska.debian.org
Mon Mar 16 14:27:39 UTC 2015


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

hashar-guest pushed a commit to branch master
in repository python-gear.

commit 85b2bb992f70dc8fda1f53e9b4d3c05a6253411a
Author: Antoine Musso <hashar at free.fr>
Date:   Fri Sep 20 11:32:59 2013 +0000

    python-gear: deps to let us run tests
    
    * removes the sphinx doctest since there are none
    * update the test command, matching the one from upstream
    * adds in a bunch of build dependency to let us run tests if needed
    
    
    
    git-svn-id: svn://svn.debian.org/svn/python-modules/packages/python-gear/trunk@25908 771dd761-d7fa-0310-a302-f036d1c1ebb6
---
 debian/control | 21 ++++++++++++---------
 debian/rules   |  6 ++----
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/debian/control b/debian/control
index c3e88df..804b0a9 100644
--- a/debian/control
+++ b/debian/control
@@ -11,20 +11,23 @@ Priority: optional
 Build-Depends: debhelper (>= 8),
                openstack-pkg-tools,
                python-all (>= 2.6.6-3),
+               python-daemon,
+               python-extras,
+               python-fixtures (>=0.3.12),
                python-setuptools (>= 0.6b3),
-               python-pbr
+               python-sphinx (>=1.1.2),
+               python-subunit,
+               python-pbr,
+               python-testrepository (>=0.0.13),
+               python-testresources,
+               python-testscenarios,
+               python-testtools (>=0.9.27),
+               python-tox
 #Build-Depends-Indep:
-# From test-requirements.txt we have:
+# From test-requirements.txt we are missing:
 #coverage>=3.6
 #discover
-#fixtures>=0.3.12
 #hacking>=0.5.3,<0.6
-#python-subunit
-#sphinx>=1.1.2
-#testrepository>=0.0.13
-#testresources
-#testscenarios
-#testtools>=0.9.27
 Standards-Version: 3.9.3
 Homepage: https://pypi.python.org/pypi/gear
 #Vcs-Git: https://review.openstack.org/p/openstack-infra/gear.git
diff --git a/debian/rules b/debian/rules
index ea6cd7b..c30b122 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,10 +17,8 @@ export OSLO_PACKAGE_VERSION=$(VERSION)
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex; for python in $(shell pyversions -s); do \
-		$$python -m doctest tests.rst; \
-	done
-	nosetests --verbose
+	# Command comes from upstream tox.ini
+	python setup.py testr --slowest
 endif
 
 .PHONY: get-orig-source override_dh_auto_test

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



More information about the Python-modules-commits mailing list