debian/tests/upstream-tests
raw| 1 | #!/bin/bash |
| 2 | set -efu |
| 3 | |
| 4 | cp -a flask_peewee runtests.py ${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}" runtests.py || exit 1 |
| 17 | done |
| 18 | |
| 19 | echo |
| 20 | |
| 21 | exit 0 |