[SCM] libkdegames packaging branch, master, updated. debian/15.12.0-1-6-ged344c3

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:12:13 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/libkdegames.git;a=commitdiff;h=79b6e79

The following commit has been merged in the master branch:
commit 79b6e79cbe0beca179df4aeb1dd64d913eb9e317
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sat Feb 13 15:31:19 2016 +0100

    Hacky use of xephyr
---
 debian/tests/control   | 2 +-
 debian/tests/testsuite | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index dc594d4..1c22873 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,6 @@
 Tests: testsuite
 Depends: @, @builddeps@, build-essential,
-         xvfb, xauth, dbus-x11, libxml2-utils
+         xvfb, xauth, dbus-x11, libxml2-utils, xserver-xephyr
 Restrictions: build-needed
 
 Tests: acc
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 37a95e6..f47a079 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,3 +1,8 @@
 #!/bin/sh
 
-xvfb-run -a dbus-launch --exit-with-session dh_auto_test
+xvfb-run -a --server-args="-screen 0 1024x768x24" \
+    Xephyr -reset -br -screen 1024x768 :2 & x_pid=$!
+
+trap "{ kill ${x_pid} }" EXIT
+
+DISPLAY=:2 dbus-launch --exit-with-session dh_auto_test

-- 
libkdegames packaging



More information about the pkg-kde-commits mailing list