summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-12 11:02:57 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-12 11:02:57 +0200
commit78e9e09c400d9ea185da11328a00ef9251c0b342 (patch)
treeadab3d6038502cdd97557805d22a54080143e070 /debian/tests
parentfbc1eb3e01df0dad1779ff723018936b4a0a5921 (diff)
parent43d87e1b14719750585412ab1d15fc30e280b7d0 (diff)
downloadpython-apt-78e9e09c400d9ea185da11328a00ef9251c0b342.tar.gz
* add dep8 style autopkgtest support
* add "codename" to the PackageFile object * python/cache.cc: - Use Popen.communicate() instead of stdin, stdout
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control2
-rw-r--r--debian/tests/run-tests8
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 00000000..2ca0a401
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: run-tests
+Depends: @, apt-utils, python-debian, fakeroot, intltool
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
new file mode 100644
index 00000000..bb980c6b
--- /dev/null
+++ b/debian/tests/run-tests
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# from debian/rules
+for python in $(utils/pyversions -r); do
+ $python tests/test_all.py -q
+done