From: Didier Raboud Date: Fri, 25 Nov 2016 14:43:14 +0000 (+0100) Subject: Also run the tests for all pyversions (Python 2.7 only) X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=88f7c8db56684b9d40a247237f703701885933ff;p=lsb.git Also run the tests for all pyversions (Python 2.7 only) --- diff --git a/debian/rules b/debian/rules index 7e803de..690f84c 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,7 @@ derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") +PY2VERSIONS=$(shell [ -x /usr/bin/pyversions ] && pyversions -vr) PY3VERSIONS=$(shell [ -x /usr/bin/py3versions ] && py3versions -vr) %: @@ -52,7 +53,7 @@ override_dh_clean: ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) override_dh_auto_test: else -override_dh_auto_test: $(PY3VERSIONS:%=test-python%) +override_dh_auto_test: $(PY3VERSIONS:%=test-python%) $(PY2VERSIONS:%=test-python%) endif test-python%: