diff options
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control.autodep8 (renamed from debian/tests/control) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/tests/control b/debian/tests/control.autodep8 index 1e5cddf..5ffa42b 100644 --- a/debian/tests/control +++ b/debian/tests/control.autodep8 @@ -2,7 +2,7 @@ Test-Command: set -efu ; for py in $(pyversions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" - ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import silx.test; silx.test.run_tests()" 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -m unittest discover silx 2>&1 ; done Depends: python-all, python-silx, xauth, xvfb @@ -10,7 +10,7 @@ Test-Command: set -efu ; for py in $(pyversions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py-dbg:" - ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py-dbg -c "import silx.test; silx.test.run_tests()" 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py-dbg -m unittest discover silx 2>&1 ; done Depends: python-all-dbg, python-silx-dbg, xauth, xvfb @@ -18,7 +18,7 @@ Test-Command: set -efu ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" - ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import silx.test; silx.test.run_tests()" 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -m unittest discover silx 2>&1 ; done Depends: python3-all, python3-silx, xauth, xvfb @@ -26,6 +26,6 @@ Test-Command: set -efu ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py-dbg:" - ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py-dbg -c "import silx.test; silx.test.run_tests()" 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py-dbg -m unittest discover silx 2>&1 ; done Depends: python3-all-dbg, python3-silx-dbg, xauth, xvfb |