#!/bin/sh

set -e -u

cp -va ./tests "$AUTOPKGTEST_TMP"/
cp ./runtests.py "$AUTOPKGTEST_TMP"/
cd "$AUTOPKGTEST_TMP"

# Set this variable to skip tests with tag 'live'
export CONTINUOUS_INTEGRATION=1

for py in $(py3versions -s); do
	echo "Running testsuite with $py:"
	$py runtests.py
done
