[Python-modules-commits] [dask.distributed] 04/05: Improve autopkgtest runner

Diane Trout diane at moszumanska.debian.org
Sun Dec 10 05:34:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

diane pushed a commit to branch master
in repository dask.distributed.

commit fac58776fd52b7c354d168c930fa708e78db86a9
Author: Diane Trout <diane at ghic.org>
Date:   Fri Dec 8 20:46:26 2017 -0800

    Improve autopkgtest runner
    
    * Improve autopkgtest runner
      - copy conftest.py to enable the custom py.test plugins.
      - Add PYTEST_OPTIONS from upstreams travis test runner.
---
 debian/changelog     | 3 +++
 debian/tests/control | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c310f5c..90c12a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ dask.distributed (1.19.2+ds.1-1) unstable; urgency=medium
   * Add !nodoc build profile.
   * Update Standards-Version to 4.1.2. No changes needed.
   * Add patch description to use-local-intersphinx-inventory.patch
+  * Improve autopkgtest runner
+    - copy conftest.py to enable the custom py.test plugins.
+    - Add PYTEST_OPTIONS from upstreams travis test runner.
 
  -- Diane Trout <diane at ghic.org>  Thu, 12 Oct 2017 20:56:29 -0700
 
diff --git a/debian/tests/control b/debian/tests/control
index b15e7eb..a5283de 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,11 @@
 Test-Command: set -e
+ ; export LC_ALL=C.UTF-8
+ ; export LANG=C.UTF-8
+ ; export PYTEST_OPTIONS="--verbose -r s --timeout-method=thread --timeout=300 --durations=20"
+ ; cp conftest.py $ADTTMP
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$ADTTMP" ; echo "Testing with $py:"
- ; LC_ALL=C.UTF-8 LANG=C.UTF-8 http_proxy= $py $(which py.test-3) -m "not avoid_travis" /usr/lib/python3/dist-packages/distributed
+ ; http_proxy= $py $(which py.test-3) -m "not avoid_travis" . $ADTTMP /usr/lib/python3/dist-packages/distributed $PYTEST_OPTIONS
  ; done
 Depends: @,
  python3-dill,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dask.distributed.git



More information about the Python-modules-commits mailing list