diff options
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 |