#!/bin/sh

set -e -u

for py in $(py3versions -r 2>/dev/null); do
	rm -vrf "$AUTOPKGTEST_TMP"/*
	cp -va test/test.py "$AUTOPKGTEST_TMP"/
	cd "$AUTOPKGTEST_TMP"
	echo "Running testsuite with $py:"
	$py test.py 2>&1
done
