diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:25:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:25:33 +0000 |
commit | f17a36c03a19aba355a76881abf0b4ccf4b5e079 (patch) | |
tree | 67b8336a4b1c1254fab3518cb18f02079d188d5e /debian/tests | |
parent | Adding upstream version 0.1.2. (diff) | |
download | mdurl-debian.tar.xz mdurl-debian.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 '')
-rw-r--r-- | debian/tests/control | 4 | ||||
-rw-r--r-- | debian/tests/pytest | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..2d2d015 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,4 @@ +Tests: pytest +Depends: python3-all, + python3-pytest, + @, 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 |