Debian Codegraph @

debian/tests/smoke

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