debian/tests/smoke
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | cp -r 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 | PYTHONPATH=. ${py3vers} -m pytest tests |
| 18 | done |