[libx11-protocol-other-perl] 05/05: disabled tests that use the X server

Dima Kogan dima at secretsauce.net
Wed Jan 15 23:01:37 UTC 2014


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

dkogan-guest pushed a commit to branch master
in repository libx11-protocol-other-perl.

commit 18481205a908199ae34ffe188517aced8c4deed6
Author: Dima Kogan <dima at secretsauce.net>
Date:   Wed Jan 15 14:46:51 2014 -0800

    disabled tests that use the X server
    
    Those are somewhat error prone, anyway, since they depend on the specific window
    manager.
    
    Also, this is needed because of
    
     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589687
    
    since pbuilder/cowbuilder would inherit the caller's DISPLAY even if no X server
    exists there
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..670b6a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,14 @@
 
 %:
 	dh $@
+
+# This is done to disable any tests that actually use the X server. Those are
+# somewhat error prone, anyway, since they depend on the specific window manager
+#
+# Also, this is needed because of
+#  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589687
+# since pbuilder/cowbuilder would inherit the caller's DISPLAY even if no X server
+# exists there
+unexport DISPLAY
+override_dh_auto_test:
+	dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libx11-protocol-other-perl.git



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