Debian Codegraph @

debian/tests/upstream

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