[Python-modules-commits] r17196 - in packages/pyke/trunk/debian (rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri May 27 15:53:05 UTC 2011


    Date: Friday, May 27, 2011 @ 15:53:04
  Author: eriol-guest
Revision: 17196

Respected DEB_BUILD_OPTIONS=nocheck

Modified:
  packages/pyke/trunk/debian/rules

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-05-27 15:49:45 UTC (rev 17195)
+++ packages/pyke/trunk/debian/rules	2011-05-27 15:53:04 UTC (rev 17196)
@@ -11,12 +11,14 @@
 	# Run tests twice to make sure that all of the tests run properly
 	# whether they have to compile the knowledge base sources or not.
 	# Compilation of the knowledge base will occur on first run.
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	set -e; \
 	for python in $(shell pyversions -r); do \
 		$$python /usr/bin/nosetests --with-doctest pyke/; \
 		$$python /usr/bin/nosetests --with-doctest pyke/; \
 		rm -rf compiled_krb/; \
 	done
+endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES-1.txt upstream




More information about the Python-modules-commits mailing list