[Pkg-owncloud-commits] [owncloud-client] 03/07: add xvfb to build-depends, because some tests need a X running

Sandro Knauß hefee at moszumanska.debian.org
Sat Nov 19 13:56:49 UTC 2016


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

hefee pushed a commit to branch master
in repository owncloud-client.

commit 84f112f1abb17de37ad2f1ccb93e84b36f16815f
Author: Sandro Knauß <hefee at debian.org>
Date:   Sat Nov 19 13:36:40 2016 +0100

    add xvfb to build-depends, because some tests need a X running
---
 debian/control | 3 ++-
 debian/rules   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index c93e54d..f5c1113 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,8 @@ Build-Depends: cmake,
                qt5keychain-dev,
                qtdeclarative5-dev,
                qttools5-dev,
-               qttools5-dev-tools
+               qttools5-dev-tools,
+               xvfb
 Build-Depends-Indep: texlive-fonts-recommended,
                      texlive-generic-extra,
                      texlive-latex-extra,
diff --git a/debian/rules b/debian/rules
index ffa33ca..dce2cf3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ include /usr/share/dpkg/default.mk
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	mkdir obj-$(DEB_HOST_GNU_TYPE)/config
-	XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config dh_auto_test --no-parallel
+	XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config xvfb-run -- dh_auto_test --no-parallel
 	rm -r obj-$(DEB_HOST_GNU_TYPE)/config
 else
 	@echo "** tests disabled"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list