aboutsummaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorMartin Pitt <mpitt@debian.org>2013-11-07 14:15:23 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2013-11-07 14:15:23 +0100
commit4dd827eca65891c71c8cc53eea704e2f73a3c64a (patch)
treefda73ec102cdadbcea7f2b3a3d2d405317f17929 /debian/tests
parenteeedd730548f6e2d756299327682ffe73bd3bbfa (diff)
downloadpython-paramiko-4dd827eca65891c71c8cc53eea704e2f73a3c64a.tar
python-paramiko-4dd827eca65891c71c8cc53eea704e2f73a3c64a.tar.gz
Add autopkgtest that runs the upstream test suite against the installed package
Thanks to Jean-Baptiste Lallement! https://launchpad.net/bugs/1248706
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/upstream4
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..799e33c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: upstream
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/upstream b/debian/tests/upstream
new file mode 100644
index 0000000..6ede8fe
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+python ./test.py --verbose