diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2018-08-12 13:00:00 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2018-08-12 15:46:40 +0200 |
commit | fb77be2327c3399415feb09db417c89dfd3cda19 (patch) | |
tree | b3724e4971fcb3d66e4fac7f29a9a8a16130f954 /debian/tests | |
parent | 5bddbbf576ca35a2eff6fd58a0eba6f5b4491ae8 (diff) |
Test all supported Python versions.
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 |