#!/bin/sh set -e export HOME="${AUTOPKGTEST_TMP}" # copy the required files cp -av tests "${AUTOPKGTEST_TMP}" cd "${AUTOPKGTEST_TMP}" for py in $(py3versions -s); do echo "[*] testing on $py:" $py -m pytest -v -x -rs tests/ 2>&1 done