summaryrefslogtreecommitdiffstats
path: root/debian/tests/unittests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:11 +0000
commit3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3 (patch)
tree58db4e5b1587dfa44ff3f19fa188964f4512b078 /debian/tests/unittests
parentAdding upstream version 0.6.0+dfsg1. (diff)
downloadpython-installer-3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3.tar.xz
python-installer-3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3.zip
Adding debian version 0.6.0+dfsg1-1.debian/0.6.0+dfsg1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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