debian/tests/upstream-tests
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e -u |
| 4 | |
| 5 | DIR="/usr/lib/python3/dist-packages/jaraco/text/" |
| 6 | |
| 7 | # Symlink testdata |
| 8 | ln -vs "$(pwd)/jaraco/text/Lorem ipsum.txt" "$DIR" |
| 9 | |
| 10 | cd "$DIR" |
| 11 | |
| 12 | for py in $(py3versions -s 2>/dev/null); do |
| 13 | echo "Running testsuite with $py:" |
| 14 | $py -m pytest --doctest-modules . |
| 15 | done |