From 88f7c8db56684b9d40a247237f703701885933ff Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Fri, 25 Nov 2016 15:43:14 +0100 Subject: [PATCH] Also run the tests for all pyversions (Python 2.7 only) --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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%: -- 2.30.2