diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:29:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:29:52 +0000 |
commit | 1f682782375f8bce3f31fea8867f0412b54ebe8e (patch) | |
tree | 80774428eaf1d482fd020e932252da5c872adcf6 /debian/tests | |
parent | Adding upstream version 0.3.3. (diff) | |
download | mdit-py-plugins-1f682782375f8bce3f31fea8867f0412b54ebe8e.tar.xz mdit-py-plugins-1f682782375f8bce3f31fea8867f0412b54ebe8e.zip |
Adding debian version 0.3.3-1.debian/0.3.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/tests/control | 6 | ||||
-rw-r--r-- | debian/tests/unittests | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..cc74f8e --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,6 @@ +Tests: unittests +Depends: python3-all, + python3-markdown-it, + python3-pytest, + python3-pytest-regressions, + @, 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 |