[Python-modules-commits] r14791 - in packages/python-solrpy/trunk/debian (control rules)

ockham-guest at users.alioth.debian.org ockham-guest at users.alioth.debian.org
Sun Oct 31 16:07:55 UTC 2010


    Date: Sunday, October 31, 2010 @ 16:07:44
  Author: ockham-guest
Revision: 14791

Add tests; failing tests now make this FTBFS

Modified:
  packages/python-solrpy/trunk/debian/control
  packages/python-solrpy/trunk/debian/rules

Modified: packages/python-solrpy/trunk/debian/control
===================================================================
--- packages/python-solrpy/trunk/debian/control	2010-10-31 15:47:24 UTC (rev 14790)
+++ packages/python-solrpy/trunk/debian/control	2010-10-31 16:07:44 UTC (rev 14791)
@@ -3,7 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Bernhard Reiter <ockham at raz.or.at>
-Build-Depends: debhelper (>= 7.0.50~), python-support, python-setuptools
+Build-Depends: debhelper (>= 7.0.50~), python-all, python-support,
+ python-setuptools, python-nose (>= 0.10.1), solr-common,
+ solr-tomcat | solr-jetty
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/solrpy/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-solrpy/trunk/

Modified: packages/python-solrpy/trunk/debian/rules
===================================================================
--- packages/python-solrpy/trunk/debian/rules	2010-10-31 15:47:24 UTC (rev 14790)
+++ packages/python-solrpy/trunk/debian/rules	2010-10-31 16:07:44 UTC (rev 14791)
@@ -2,3 +2,12 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	set -e; \
+	cd tests; \
+	for python in $(shell pyversions -r); do \
+		PYTHONPATH=${PYTHONPATH}:.. $$python test_all.py; \
+	done
+endif




More information about the Python-modules-commits mailing list