summaryrefslogtreecommitdiffstats
path: root/debian/tests/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/unittests')
-rw-r--r--debian/tests/unittests14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/unittests b/debian/tests/unittests
new file mode 100644
index 0000000..feb6ac6
--- /dev/null
+++ b/debian/tests/unittests
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -efu
+
+pys="$(py3versions -s 2> /dev/null)"
+
+
+cp -a tests "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
+
+
+for py in $pys; do
+ echo "=== $py ==="
+ $py -m pytest 2>&1
+done