diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/tests/control | 20 |
2 files changed, 16 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog index 30af609..03709ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pyfai (0.17.0+dfsg1-3) unstable; urgency=medium + + [ Alexandre Marie ] + * d/t/control Changed the command line that run the tests. + + -- Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> Thu, 10 Jan 2019 10:35:17 +0100 + pyfai (0.17.0+dfsg1-2) unstable; urgency=medium * d/p/0004-Skipped-unittests-for-i386-arch.patch (Closes: #916292). diff --git a/debian/tests/control b/debian/tests/control index 3842ac1..4172aa2 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,31 +1,29 @@ Test-Command: set -efu + ; cp run_tests.py setup.py version.py README.rst "$AUTOPKGTEST_TMP" ; 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 -m unittest discover pyFAI 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py run_tests.py -v -m --installed ; done Depends: python-all, python-pyfai, xauth, xvfb +Restrictions: allow-stderr Test-Command: set -efu + ; cp run_tests.py setup.py version.py README.rst "$AUTOPKGTEST_TMP" ; 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 -m unittest discover pyFAI 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py-dbg run_tests.py -v -m --installed ; done Depends: python-all-dbg, python-pyfai-dbg, xauth, xvfb +Restrictions: allow-stderr Test-Command: set -efu + ; cp run_tests.py setup.py version.py README.rst "$AUTOPKGTEST_TMP" ; 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 -m unittest discover pyFAI 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py run_tests.py -v -m --installed ; done Depends: python3-all, python3-pyfai, xauth, xvfb - -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 -m unittest discover pyFAI 2>&1 - ; done -Depends: python3-all-dbg, python3-pyfai-dbg, xauth, xvfb +Restrictions: allow-stderr |