diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-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 |
4 files changed, 14 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 8963d4f7..ed8e9c67 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ gudhi (2.2.0+dfsg-3) UNRELEASED; urgency=medium * Fix build of bindings for multiple Python versions when building just binary-arch. + * Test all supported Python (3) versions. - -- Gard Spreemann <gspreemann@gmail.com> Sun, 12 Aug 2018 12:11:18 +0200 + -- Gard Spreemann <gspreemann@gmail.com> Sun, 12 Aug 2018 12:59:18 +0200 gudhi (2.2.0+dfsg-2) unstable; urgency=medium 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 |