diff options
author | Gard Spreemann <gspr@nonempty.org> | 2019-10-23 12:28:46 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2019-10-23 12:28:46 +0200 |
commit | bc9b55f6595c6406c4188fec126782bc1e083912 (patch) | |
tree | 13789b0ebfa2d4a66aee6ae347d2ac7a81238128 /debian/tests/python-upstream.sh | |
parent | 4724a609660eabbb9ad63e005db35cd1256418a9 (diff) |
Simplify tests for new version.
Diffstat (limited to 'debian/tests/python-upstream.sh')
-rwxr-xr-x | debian/tests/python-upstream.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/debian/tests/python-upstream.sh b/debian/tests/python-upstream.sh index e292ab76..a83dfdcc 100755 --- a/debian/tests/python-upstream.sh +++ b/debian/tests/python-upstream.sh @@ -1,9 +1,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}." - /usr/bin/python${py3ver} -B debian/tests/python-upstream.py + for t in $(find $testdir -type f -name 'test_*.py') + do + echo "Running test ${t}." + /usr/bin/python${py3ver} -B $t + done done |