[libgnome2-canvas-perl] 05/08: Run tests under xvfb.

gregor herrmann gregoa at debian.org
Mon May 30 17:15:58 UTC 2016


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

gregoa pushed a commit to branch master
in repository libgnome2-canvas-perl.

commit 5da137fcb50c207d1bae390bed0353db3b1cae33
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon May 30 19:12:17 2016 +0200

    Run tests under xvfb.
    
    This enables additional tests.
---
 debian/control | 4 +++-
 debian/rules   | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 00bf894..88198d0 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,9 @@ Build-Depends: debhelper (>= 9.20120312~),
                libglib-perl,
                libgtk2-perl,
                libgnomecanvas2-dev,
-               rename
+               rename,
+               xauth,
+               xvfb
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libgnome2-canvas-perl.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libgnome2-canvas-perl.git
diff --git a/debian/rules b/debian/rules
index 290500e..9e97669 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 %:
 	dh $@
 
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test
+
 override_dh_installexamples:
 	dh_installexamples
 	rm "$(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/ENTRYPOINT_IS_canvas.pl"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnome2-canvas-perl.git



More information about the Pkg-perl-cvs-commits mailing list