diff options
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | debian/tests/python-upstream.py (renamed from debian/tests/python-upstream) | 2 | ||||
-rwxr-xr-x | debian/tests/python-upstream.sh | 9 |
3 files changed, 12 insertions, 4 deletions
diff --git a/debian/tests/control b/debian/tests/control index 49eabb3f..65510cef 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,2 +1,3 @@ -Tests: python-upstream -Depends: python3-gudhi, python3-pytest
\ No newline at end of file +Tests: python-upstream.sh +Depends: python3-all, python3-gudhi, python3-pytest + diff --git a/debian/tests/python-upstream b/debian/tests/python-upstream.py index ed1c6027..098701aa 100755..100644 --- a/debian/tests/python-upstream +++ b/debian/tests/python-upstream.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 -B - import pytest import os diff --git a/debian/tests/python-upstream.sh b/debian/tests/python-upstream.sh new file mode 100755 index 00000000..e292ab76 --- /dev/null +++ b/debian/tests/python-upstream.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +for py3ver in $(py3versions -vs) +do + echo "Running tests with Python ${py3ver}." + /usr/bin/python${py3ver} -B debian/tests/python-upstream.py +done |