debian/tests/upstream-tests
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | set -x |
| 5 | set -u |
| 6 | |
| 7 | export LC_ALL=C.UTF-8 |
| 8 | |
| 9 | cp -rv test "$AUTOPKGTEST_TMP" |
| 10 | cp -v src/scripts/limnoria_test.py "$AUTOPKGTEST_TMP" |
| 11 | |
| 12 | cd "$AUTOPKGTEST_TMP" |
| 13 | |
| 14 | for python in $(py3versions --supported);do |
| 15 | printf "###\\n### Now testing %s\\n###\\n" "$python" |
| 16 | "$python" ./limnoria_test.py test \ |
| 17 | -v \ |
| 18 | --no-network \ |
| 19 | --plugins-dir=/usr/lib/python3/dist-packages/supybot/plugins/ |
| 20 | done |