summaryrefslogtreecommitdiff
path: root/debian/tests/python-upstream.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/python-upstream.sh')
-rwxr-xr-xdebian/tests/python-upstream.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/tests/python-upstream.sh b/debian/tests/python-upstream.sh
index a83dfdcc..499cc0f2 100755
--- a/debian/tests/python-upstream.sh
+++ b/debian/tests/python-upstream.sh
@@ -3,15 +3,13 @@
set -e
set -u
+helper=$PWD/debian/tests/upstream.py
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
+ /usr/bin/python${py3ver} -B $helper $testdir
+ echo "**********"
done