#!/bin/sh

set -e -u

for py in $(pyversions -r 2>/dev/null); do
	# cleanup
	rm -vrf "$AUTOPKGTEST_TMP"/*
	# create a fresh copy of the tests
	cp -va tests "$AUTOPKGTEST_TMP"/
	cd "$AUTOPKGTEST_TMP"
	echo "Running testsuite with $py:"
	$py -m pytest --ignore=tests/yencfiles/
done
