summaryrefslogtreecommitdiff
path: root/debian/tests/upstream.sh
blob: 25ece7273b4efc051204a522070010c99205c4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -e
set -u

testdir=test
cp -R $testdir $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
rm ${testdir}/test_helpers.py

for py3ver in $(py3versions -vs)
do
    echo "Running tests with Python ${py3ver}."
    /usr/bin/python${py3ver} -B -m pytest $testdir
    rm -rf .pytest_cache
    echo "**********"
done