summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
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