#!/bin/sh set -efu pys="$(py3versions -s 2> /dev/null)" CASSANDRA_VERSION=$(dpkg-parsechangelog -SVersion | cut -d- -f1) export CASSANDRA_VERSION export EVENTLET_NO_GREENDNS=yes cp -a tests "$AUTOPKGTEST_TMP" cd "$AUTOPKGTEST_TMP" # Remove cython tests for now rm -R -f tests/unit/cython/ # Remove test that use internet connection rm -R -f tests/unit/advanced/cloud/ for py in $pys; do echo "=== $py ===" $py -m pytest -v tests 2>&1 done