1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
UPSTREAM_GIT := https://github.com/kgrandis/nose-exclude
include /usr/share/openstack-pkg-tools/pkgos.make
export PYBUILD_NAME=nose-exclude
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -e ; set -x ; for i in $(PYTHONS) $(PYTHON3S) ; do \
PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
python$$i setup.py test ; \
done
endif
|