From 6590be5f1b446783f506d9a0f194ab765799dd2d Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 21 Oct 2016 19:58:54 +0200 Subject: [PATCH] Add support for DEB_BUILD_OPTIONS=nocheck --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2