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

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