summaryrefslogtreecommitdiff
path: root/debian/tests/python-upstream.sh
blob: a83dfdcc0501682a26ffd189e00de3883cb4a10d (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=$PWD/src/python/test
cd $AUTOPKGTEST_TMP

for py3ver in $(py3versions -vs)
do
    echo "Running tests with Python ${py3ver}."
    for t in $(find $testdir -type f -name 'test_*.py')
    do
        echo "Running test ${t}."
        /usr/bin/python${py3ver} -B $t
    done
done