#!/bin/sh

set -e

cp -a tests ${AUTOPKGTEST_TMP}

cd ${AUTOPKGTEST_TMP}

for p in $(py3versions -s); do
    echo
    echo "**************************"
    echo "*** Testing with ${p}"
    echo "**************************"
    echo
    $p -m pytest -sv tests
    rm -rf .pytest_cache
done

exit 0
