From: Helmut Grohne Date: Fri, 21 Oct 2016 17:58:54 +0000 (+0200) Subject: Add support for DEB_BUILD_OPTIONS=nocheck X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6590be5f1b446783f506d9a0f194ab765799dd2d;p=lsb.git Add support for DEB_BUILD_OPTIONS=nocheck --- diff --git a/debian/rules b/debian/rules index cb736f7..7e803de 100755 --- a/debian/rules +++ b/debian/rules @@ -49,7 +49,11 @@ override_dh_clean: rm -rf __pycache__ rm -rf test/__pycache__ +ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) +override_dh_auto_test: +else override_dh_auto_test: $(PY3VERSIONS:%=test-python%) +endif test-python%: PATH=test/:$${PATH} PYTHONPATH=. python$* test/test_lsb_release.py -vv