aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 9c04662..8c9b7e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,9 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
endif
dh_installdocs
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ set -e ; for python in $$(pyversions -s) $$(py3versions -s); do \
+ $$python test.py --verbose ; \
+ done
+endif