Commit 004c9811 authored by Bastian Blank's avatar Bastian Blank

Disable running tests on request

parent 1c8e06cd
......@@ -12,11 +12,13 @@ override_dh_auto_install:
$(CURDIR)/debian/cloud-init/etc/NetworkManager/dispatcher.d/cloud-init-hook-network-manager
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e && set -x && for pyvers in $(PYTHON3S); do \
PYMAJOR=`echo $$pyvers | cut -d'.' -f1` ; \
echo "===> Testing with python$$pyvers (python$$PYMAJOR)" ; \
PYTHON=python$$pyvers PYTHONPATH=. python$$pyvers -m nose -v tests/unittests ; \
done
endif
override_dh_installinit:
dh_installinit --onlyscripts --no-start --no-restart-on-upgrade --name cloud-init-local
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment