summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:07:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:07:42 +0000
commiteaf88682290091dc1b564804fecd0c28993d3242 (patch)
treec9019f56dc16e66d1388d6aa2800a00fd14b9746 /debian/tests
parentAdding upstream version 2.7.6. (diff)
downloadpython-apt-eaf88682290091dc1b564804fecd0c28993d3242.tar.xz
python-apt-eaf88682290091dc1b564804fecd0c28993d3242.zip
Adding debian version 2.7.6.debian/2.7.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/run-tests8
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f602c0d
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-tests
+Depends: @, apt-utils, binutils, python3-all, fakeroot, intltool, pycodestyle, pyflakes3, gnupg, dirmngr | gnupg (<< 2), distro-info-data
+Restrictions: allow-stderr
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
new file mode 100644
index 0000000..ac02973
--- /dev/null
+++ b/debian/tests/run-tests
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# from debian/rules
+for python in $(py3versions -s); do
+ $python tests/test_all.py -q
+done