Debian Codegraph @

debian/tests/upstream-tests

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