diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:19:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:19:53 +0000 |
commit | f42a25756b9133ae9c62fa7a86112bfc603391c8 (patch) | |
tree | 51bf1ba3aad37d5913d230724bd1969d4d466286 /debian/tests | |
parent | Adding upstream version 0.91.0. (diff) | |
download | python-ruyaml-debian.tar.xz python-ruyaml-debian.zip |
Adding debian version 0.91.0-3.debian/0.91.0-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 7 | ||||
-rw-r--r-- | debian/tests/smoke | 16 |
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..bbc131c --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,7 @@ +Tests: smoke +Depends: +# @builddeps@, + python3-all, + python3-pytest, + @, +Restrictions: allow-stderr diff --git a/debian/tests/smoke b/debian/tests/smoke new file mode 100644 index 0000000..c635fe9 --- /dev/null +++ b/debian/tests/smoke @@ -0,0 +1,16 @@ +#! /bin/bash + +cp -r _test ${AUTOPKGTEST_TMP} + +for py3vers in $(py3versions -s); do + echo + echo "***************************" + echo "*** Testing with ${py3vers}" + echo "***************************" + echo + cd ${AUTOPKGTEST_TMP} && \ + echo -e "Content of current working folder:\n" && \ + ls -la && \ + echo -e "Running tests...\n" && \ + PYTHONPATH=. ${py3vers} -m pytest +done |