changeset 725:235a942eba3f stable

debian: honor nocheck in DEB_BUILD_OPTIONS
author Julien Cristau <julien.cristau@logilab.fr>
date Fri, 31 May 2013 15:10:34 +0200
parents fa049c1d9445
children ea629193a25e c96dd66c6839
files debian/rules
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Fri May 31 18:47:01 2013 +0200
+++ b/debian/rules	Fri May 31 15:10:34 2013 +0200
@@ -9,8 +9,10 @@
 
 .PHONY: build
 
+ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
 	cd tests &&  python run-tests.py --with-hg=`which hg`
+endif
 
 override_dh_python2:
 	# avoid conflict with mercurial's own hgext/__init__.py