#!/bin/sh
set -e -u

# Make the tests use the API specified
export QT_API=$1
export PYTEST_QT_API=$1

export PYTHONWARNINGS=d

cp -r tests "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"


for py in $(py3versions -s); do
    $py -m pytest -v -k 'not test_pushbutton_icon' tests
done
