summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:35:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:35:21 +0000
commit34ae25db177881b0f5a0c1c55f05efc9614896a6 (patch)
treec7783f228670a4ccd28b013890dd77865a814329 /debian/tests
parentAdding upstream version 3.0.36. (diff)
downloadprompt-toolkit-debian.tar.xz
prompt-toolkit-debian.zip
Adding debian version 3.0.36-2.debian/3.0.36-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control2
-rw-r--r--debian/tests/pt8
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0781c84
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: pt
+Depends: @, python3-all, python3-pytest
diff --git a/debian/tests/pt b/debian/tests/pt
new file mode 100644
index 0000000..b5ac51b
--- /dev/null
+++ b/debian/tests/pt
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+cp -r tests $AUTOPKGTEST_TMP
+cd $AUTOPKGTEST_TMP
+export HOME=$AUTOPKGTEST_TMP
+for py in $(py3versions -s); do
+ $py -m pytest
+done