aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2014-06-19 14:37:32 -0700
committerThomas Kluyver <takowl@gmail.com>2014-06-19 14:37:32 -0700
commit07ed30ecd8537a72cea8554146fdb946dc6773f4 (patch)
treec9eb568440061e4955a083917e5ce3e30b94b89c
parent98919c7c500f9e0a69ebea66f8c087df90772a3c (diff)
downloadpython-paramiko-07ed30ecd8537a72cea8554146fdb946dc6773f4.tar
python-paramiko-07ed30ecd8537a72cea8554146fdb946dc6773f4.tar.gz
Add autopkgtest information
Copied from this Ubuntu commit, then added Python 3 test run: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/paramiko/utopic/revision/15
-rw-r--r--debian/control1
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/upstream5
3 files changed, 9 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index a3c0652..93d22ec 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Standards-Version: 3.9.5
Homepage: https://github.com/paramiko/paramiko/
Vcs-Git: https://github.com/jbouse-debian/paramiko.git
Vcs-Browser: https://github.com/jbouse-debian/paramiko
+XS-Testsuite: autopkgtest
Package: paramiko-doc
Package-Type: deb
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..7a400be
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+python ./test.py --verbose
+python3 ./test.py --verbose