#!/bin/sh

set -e -u -x

cp -r tests "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
    $py -m pytest --ignore tests/test_datafiles_install.py \
	    --ignore tests/test_install.py \
	    -k 'not test_build_package and not test_deprecated_metadata and not test_finds_itself'
done
