[Python-modules-commits] r15266 - in packages/pyamf/trunk/debian (control rules)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Fri Jan 7 17:06:14 UTC 2011


    Date: Friday, January 7, 2011 @ 17:05:38
  Author: nomadium-guest
Revision: 15266

Enable again the unit tests

Modified:
  packages/pyamf/trunk/debian/control
  packages/pyamf/trunk/debian/rules

Modified: packages/pyamf/trunk/debian/control
===================================================================
--- packages/pyamf/trunk/debian/control	2011-01-07 15:53:47 UTC (rev 15265)
+++ packages/pyamf/trunk/debian/control	2011-01-07 17:05:38 UTC (rev 15266)
@@ -4,7 +4,9 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <miguel at miguel.cc>
 Build-Depends: debhelper (>= 7.0.50~), python-all-dev, cython (>= 0.13),
- python-all-dbg, python-setuptools (>= 0.6c9)
+ python-all-dbg, python-setuptools (>= 0.6c9), python-lxml, python-twisted-core,
+ python-twisted-web, python-elixir, python-sqlalchemy, python-django,
+ python-unittest2, python-pysqlite2
 Standards-Version: 3.9.1
 Homepage: http://pyamf.org/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyamf/trunk/

Modified: packages/pyamf/trunk/debian/rules
===================================================================
--- packages/pyamf/trunk/debian/rules	2011-01-07 15:53:47 UTC (rev 15265)
+++ packages/pyamf/trunk/debian/rules	2011-01-07 17:05:38 UTC (rev 15266)
@@ -12,16 +12,16 @@
 	dh_auto_clean
 	-rm -rf PyAMF.egg-info cpyamf/*.so cpyamf/*.c foo unit-tests-results.txt
 
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	# the test suite does not 100% pass at present,
-#	# but the output could be useful documentation for users
-#	(dh_auto_test ; \
-#	for python in $(shell pyversions -r); do \
-#		$$python setup.py test; \
-#		$$python-dbg setup.py test; \
-#	done; echo $?) 2>&1 | tee unit-tests-results.txt
-#endif
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	# the test suite does not 100% pass at present,
+	# but the output could be useful documentation for users
+	(dh_auto_test ; \
+	for python in $(shell pyversions -r); do \
+		$$python setup.py test; \
+		$$python-dbg setup.py test; \
+	done; echo $?) 2>&1 | tee unit-tests-results.txt
+endif
 
 get-orig-source:
 	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \




More information about the Python-modules-commits mailing list