aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--debian/changelog8
-rw-r--r--debian/control1
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/upstream4
4 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5f08b0f..18a3b1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+paramiko (1.10.1-2) UNRELEASED; urgency=low
+
+ [ Jean-Baptiste Lallement ]
+ * Add autopkgtest that runs the upstream test suite against the installed
+ package. (LP: #1248706)
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Wed, 06 Nov 2013 21:48:53 +0100
+
paramiko (1.10.1-1) unstable; urgency=low
* Imported Upstream version 1.10.1
diff --git a/debian/control b/debian/control
index 36c3a1f..22683cf 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Standards-Version: 3.9.4
Homepage: https://github.com/paramiko/paramiko/
Vcs-Git: git://git.debian.org/collab-maint/paramiko.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/paramiko.git
+XS-Testsuite: autopkgtest
Package: paramiko-doc
Section: doc
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