Debian Codegraph @

debian/tests/upstream-tests

raw symbols SCIP
1 #!/bin/bash
2
3 set -e -u
4
5 cp -a tests pyproject.toml "${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 -e "Content of current working folder:\n" && \
15 pwd && \
16 ls -la && \
17 echo -e "Running tests...\n" && \
18 PYTHONPATH=. "${py3vers}" -m pytest tests && \
19 rm -rf .pytest_cache .coverage || exit 1
20 done
21
22 echo
23
24 exit 0