#!/bin/sh
set -efu

pys="$(py3versions -s 2> /dev/null)"

cp -a docs tests "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

for py in $pys; do
	echo "=== $py ==="
	# Not compatible with running outside the source tree:
	$py -m pytest tests -k 'not (test_develop_ctor_w_path or test_installed_ctor_w_egg_info_as_file)'
done
