debian/tests/upstream-tests
raw| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | SRCDIR="$PWD" |
| 5 | for interpreter in `py3versions --supported 2>/dev/null` |
| 6 | do |
| 7 | echo "=== Testing with $interpreter ===" |
| 8 | # Just in case this produces output that needs to be cleaned up |
| 9 | mkdir "$AUTOPKGTEST_TMP/$interpreter" |
| 10 | cd "$AUTOPKGTEST_TMP/$interpreter" |
| 11 | python3 -m pytest "$SRCDIR" |
| 12 | done |