[pyfai] 16/19: run test with xvfb

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Tue Aug 29 12:34:08 UTC 2017


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

picca pushed a commit to branch master
in repository pyfai.

commit d39285e1abf494cb8cd8fe7c6bea2dcaa2c9dea3
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Mon Aug 21 15:40:53 2017 +0200

    run test with xvfb
---
 debian/changelog | 3 +++
 debian/control   | 6 ++++--
 debian/rules     | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7628120..234fe5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,11 +10,14 @@ pyfai (0.14.0+dfsg-1) unstable; urgency=medium
     - Build-Depends
       + Fixed with cme
       + Added python[3]-numexpr[-dbg]
+      + Added xauth, xvfb
   * debian/patches
     - 0002-remove-useless-logic-in-conf.py.patch (Added)
     - 0003-remove-a-wrong-PYTHONPATH-modification.patch  (Added)
     - 0003-use-the-system-mathjax.patch (Added)
     - 0004-unactivated-a-bunch-of-failling-tests.patch (Added)
+  * Debian/rules
+    - Run tests with xvfb
 
  -- Picca Frédéric-Emmanuel <picca at debian.org>  Mon, 31 Jul 2017 13:40:50 +0200
 
diff --git a/debian/control b/debian/control
index c77c35a..4f1dd48 100644
--- a/debian/control
+++ b/debian/control
@@ -61,8 +61,10 @@ Build-Depends: cython,
                python3-sphinx,
                python3-sphinxcontrib.programoutput,
                python3-tk,
-               python3-tk-dbg
-Standards-Version: 3.9.8
+               python3-tk-dbg,
+               xauth,
+               xvfb
+Standards-Version: 4.0.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/pyfai.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/pyfai.git
 Homepage: https://github.com/silx-kit/pyFAI
diff --git a/debian/rules b/debian/rules
index 6a56821..0238010 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ override_dh_auto_build:
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} PYFAI_TESTIMAGES=testimages PYFAI_DATA=$(shell pwd) {interpreter} ./run_tests.py" dh_auto_test
+	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} PYFAI_TESTIMAGES=testimages PYFAI_DATA=$(shell pwd) xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} ./run_tests.py" dh_auto_test
 
 override_dh_install:
 	dh_numpy

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfai.git



More information about the debian-science-commits mailing list