#!/bin/sh

set -e

cp -a tests "${AUTOPKGTEST_TMP}"

cd "${AUTOPKGTEST_TMP}"

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

exit 0
