#!/bin/sh
set -efu

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

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $pys; do
  echo "=== $py ==="
  $py -m pytest -v tests --ignore-glob "tests/test_d*.py" 2>&1
done
