mirror of https://github.com/fail2ban/fail2ban
verbose debian build and verbose tests
parent
1aa4522cd3
commit
b2688c6c11
|
@ -7,7 +7,7 @@
|
||||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
export DH_VERBOSE=1
|
||||||
|
|
||||||
export PYBUILD_DISABLE_python2=1
|
export PYBUILD_DISABLE_python2=1
|
||||||
|
|
||||||
|
@ -51,7 +51,11 @@ override_dh_install:
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
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
|
endif
|
||||||
|
|
||||||
override_dh_installexamples:
|
override_dh_installexamples:
|
||||||
|
|
Loading…
Reference in New Issue