verbose debian build and verbose tests

pull/2221/head
Yaroslav Halchenko 2018-01-21 19:27:05 -05:00
parent 1aa4522cd3
commit b2688c6c11
1 changed files with 6 additions and 2 deletions

8
debian/rules vendored
View File

@ -7,7 +7,7 @@
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_VERBOSE=1
export PYBUILD_DISABLE_python2=1
@ -51,7 +51,11 @@ override_dh_install:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd build && LC_ALL=C.UTF-8 FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" PYTHONPATH="$(CURDIR)/.pybuild/pythonX.Y_$(PYVERSION)/build/" scripts-*/fail2ban-testcases --no-network
cd build && \
LC_ALL=C.UTF-8 \
FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" \
PYTHONPATH="$(CURDIR)/.pybuild/pythonX.Y_$(PYVERSION)/build/" \
scripts-*/fail2ban-testcases --no-network --verbosity=2
endif
override_dh_installexamples: