aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-15 14:48:28 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-15 14:50:51 +0000
commitb849da70142fc7d93b5475b5c1086b8f358d9699 (patch)
treee159e54d6bf8e1d7196978c4333ebab98982601e
parent8f7daee90e93b5bedc71ac49b758d927ce79ab2b (diff)
downloadpython-paramiko-b849da70142fc7d93b5475b5c1086b8f358d9699.tar
python-paramiko-b849da70142fc7d93b5475b5c1086b8f358d9699.tar.gz
Use the upstream test script
-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