debian/tests/testsuite
raw| 1 | #!/bin/sh |
| 2 | set -efu |
| 3 | |
| 4 | pys="$(py3versions -s 2> /dev/null)" |
| 5 | |
| 6 | CASSANDRA_VERSION=$(dpkg-parsechangelog -SVersion | cut -d- -f1) |
| 7 | export CASSANDRA_VERSION |
| 8 | |
| 9 | export EVENTLET_NO_GREENDNS=yes |
| 10 | |
| 11 | cp -a tests "$AUTOPKGTEST_TMP" |
| 12 | cd "$AUTOPKGTEST_TMP" |
| 13 | |
| 14 | # Remove cython tests for now |
| 15 | rm -R -f tests/unit/cython/ |
| 16 | |
| 17 | # Remove test that use internet connection |
| 18 | rm -R -f tests/unit/advanced/cloud/ |
| 19 | |
| 20 | for py in $pys; do |
| 21 | echo "=== $py ===" |
| 22 | $py -m pytest -v tests 2>&1 |
| 23 | done |