#!/bin/sh
set -eu

export LC_ALL=C.UTF-8
export http_proxy=''

pyvers=$(py3versions -s)

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
rm -f tests/ext_sqlalchemy.py

for py in ${pyvers}; do
  echo "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-"
  printf '$ %s\n' "${py} tests/runtests.py -v"
  ${py} tests/runtests.py -v
done
