r2170 - in zc.buildout/trunk/debian (rules)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Sat Apr 23 13:39:59 UTC 2011


    Date: Saturday, April 23, 2011 @ 13:39:50
  Author: arnau
Revision: 2170

Allow to run tests at build time (disabled for now)

Modified:
  zc.buildout/trunk/debian/rules

Modified: zc.buildout/trunk/debian/rules
===================================================================
--- zc.buildout/trunk/debian/rules	2011-04-22 02:54:39 UTC (rev 2169)
+++ zc.buildout/trunk/debian/rules	2011-04-23 13:39:50 UTC (rev 2170)
@@ -24,3 +24,18 @@
 	  done; \
 	  rm $$script; \
 	done;
+
+	# Run tests on build time, but only if ``nocheck'' build
+	# option has not been set.
+	#
+	# Run the tests here rather than overriding dh_auto_test to
+	# make sure that nothing is missing within the binary
+	# directory.
+	#
+	# Disabled for now as they need to be updated upstream.
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+#	for py in $(shell pyversions -vr debian/control); do \
+#	    PYTHONPATH=debian/python-zc.buildout/usr/lib/python$$py/dist-packages \
+#		python$$py setup.py test -m zc.buildout.tests; \
+#	done;
+#endif




More information about the pkg-zope-developers mailing list