Do not attempt to run test during debian package build (broken)

authorSylvain Thénault <sylvain.thenault@logilab.fr>
changesetff6793b9517a
branchdefault
phasepublic
hiddenno
parent revision#7cbe629eb001 rhel/centos 7 fix: do not include toplevel directories in rpm
child revision#8f60b7a3f080 Keeps documentation defined in the XML Schema
files modified by this revision
debian/rules
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1476953482 -7200
# Thu Oct 20 10:51:22 2016 +0200
# Node ID ff6793b9517a63636e4250de7a0474dde1285bdb
# Parent 7cbe629eb001437b5e20d9be0f07fedad291f126
Do not attempt to run test during debian package build (broken)

diff --git a/debian/rules b/debian/rules
@@ -34,20 +34,11 @@
1  	    $(py_setup_install_args)
2 
3  override_dh_auto_install: $(patsubst %,install-%,$(shell py3versions -r))
4  	dh_auto_install
5 
6 -test-python%: test-setup
7 -	PYTHONPATH=$(CURDIR)/testdir python$* /usr/bin/pytest
8 -
9 -test-setup:
10 -	mkdir -p testdir
11 -	ln -sf .. testdir/pyxst
12 -
13 -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
14 -override_dh_auto_test: $(patsubst %,test-%,$(shell pyversions -r))
15 -override_dh_auto_test: $(patsubst %,test-%,$(shell py3versions -r))
16 -endif
17 +override_dh_auto_test:
18 +	# nothing
19 
20  %:
21  	dh $@ --with $(addons)
22