summaryrefslogtreecommitdiffstats
path: root/debian/tests/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/unittests')
-rwxr-xr-xdebian/tests/unittests13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/unittests b/debian/tests/unittests
new file mode 100755
index 0000000..d2fecdc
--- /dev/null
+++ b/debian/tests/unittests
@@ -0,0 +1,13 @@
+#!/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 tests
+done