[seaborn] 06/35: use xvfb for testing

Andreas Tille tille at debian.org
Fri Jan 20 15:00:20 UTC 2017


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

tille pushed a commit to branch debian
in repository seaborn.

commit c5aba04306fc7aa9b37067430a36cdad37efd771
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Tue Mar 25 00:22:13 2014 -0400

    use xvfb for testing
---
 debian/control | 3 ++-
 debian/rules   | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b646c4a..bbeb69e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Uploaders: Yaroslav Halchenko <debian at onerussian.com>, Michael Hanke <michael.ha
 Build-Depends: debhelper (>= 8), dh-python,
  python-setuptools, python3-setuptools,
  python-all (>= 2.6.6-3~), python3-all,
- python-nose, python3-nose
+ python-nose, python3-nose,
+ xvfb, xauth,
 Standards-Version: 3.9.5
 Homepage: https://github.com/mwaskom/seaborn
 Vcs-Browser: http://github.com/neurodebian/seaborn
diff --git a/debian/rules b/debian/rules
index 67eca7f..d8b2291 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,6 @@ export PYBUILD_TEST_NOSE=1
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	xvfb-run --auto-servernum --server-num=20 dh_auto_test $@
 

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



More information about the debian-science-commits mailing list