Debian Codegraph @

debian/tests/upstream-tests

raw
1 #!/bin/bash
2
3 set -e -u
4
5 cp -a tests "${AUTOPKGTEST_TMP}"
6
7 for py3vers in $(py3versions -s); do
8 echo
9 echo "***************************"
10 echo "*** Testing with ${py3vers}"
11 echo "***************************"
12 echo
13 cd ${AUTOPKGTEST_TMP} && \
14 echo "Content of current working folder:\n" && \
15 ls -la && \
16 echo "Running tests...\n" && \
17 ${py3vers} -m pytest -sv && \
18 rm -rf .pytest_cache || exit 1
19 done
20
21 echo
22
23 exit 0
24