#!/bin/sh
set -e

SRCDIR="$PWD"
for interpreter in `py3versions --supported 2>/dev/null`
do
	echo "=== Testing with $interpreter ==="
	# Just in case this produces output that needs to be cleaned up
	mkdir "$AUTOPKGTEST_TMP/$interpreter"
	cd "$AUTOPKGTEST_TMP/$interpreter"
	python3 -m pytest "$SRCDIR"
done
