summaryrefslogtreecommitdiffstats
path: root/debian/tests/pytest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:25:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:25:33 +0000
commitf17a36c03a19aba355a76881abf0b4ccf4b5e079 (patch)
tree67b8336a4b1c1254fab3518cb18f02079d188d5e /debian/tests/pytest
parentAdding upstream version 0.1.2. (diff)
downloadmdurl-f17a36c03a19aba355a76881abf0b4ccf4b5e079.tar.xz
mdurl-f17a36c03a19aba355a76881abf0b4ccf4b5e079.zip
Adding debian version 0.1.2-1.debian/0.1.2-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/pytest')
-rw-r--r--debian/tests/pytest13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/pytest b/debian/tests/pytest
new file mode 100644
index 0000000..54ef298
--- /dev/null
+++ b/debian/tests/pytest
@@ -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
+done