[Python-modules-commits] [pygame] 01/03: Test using xvfb.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Jan 26 22:26:09 UTC 2017


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

natureshadow-guest pushed a commit to branch master
in repository pygame.

commit e1b65313c62be28a3b37c8bf887707d511f9960b
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Jan 26 22:52:41 2017 +0100

    Test using xvfb.
---
 debian/changelog | 3 ++-
 debian/control   | 2 ++
 debian/rules     | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5336b89..e593ad3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,8 +13,9 @@ pygame (1.9.3+dfsg-1) unstable; urgency=medium
     + Also install examples in the -doc package.
   * Enable all hardening flags.
   * Fix many spelling issues. (Closes: #708936)
+  * Enable display test suite using Xvfb.
 
- -- Dominik George <nik at naturalnet.de>  Thu, 26 Jan 2017 20:11:24 +0100
+ -- Dominik George <nik at naturalnet.de>  Thu, 26 Jan 2017 23:04:50 +0100
 
 pygame (1.9.2~pre~r3449-2) experimental; urgency=medium
 
diff --git a/debian/control b/debian/control
index 7d0f6b3..3eeed7c 100644
--- a/debian/control
+++ b/debian/control
@@ -31,6 +31,8 @@ Build-Depends:
  python3-setuptools,
  python-sphinx,
  python3-sphinx,
+ xauth,
+ xvfb,
 Build-Conflicts: python3.2-dev (<< 3.2.3-7)
 Standards-Version: 3.9.8
 Homepage: http://www.pygame.org/
diff --git a/debian/rules b/debian/rules
index 1d65b81..42688b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ override_dh_auto_test:
 	# to test with, hence some tests won't work properly without:
 	SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk LC_ALL=C.UTF-8 \
 		dh_auto_test -- --system=custom --test-args \
-		'{interpreter} -m pygame.tests.__main__ --exclude opengl,display'
+		'/usr/bin/xvfb-run {interpreter} -m pygame.tests.__main__ --exclude opengl'
 
 override_dh_install:
 	dh_install

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



More information about the Python-modules-commits mailing list