[libx11-protocol-other-perl] 01/02: Disable t/XSetRoot.t during build and autopkgtest.
    gregor herrmann 
    gregoa at debian.org
       
    Thu Dec 22 16:53:28 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libx11-protocol-other-perl.
commit 7aec9c8e5bb77397805ad7fd2fff4ea5cac75267
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Dec 22 17:52:03 2016 +0100
    Disable t/XSetRoot.t during build and autopkgtest.
    
    This test is known to have problems with xvfb.
    
    Thanks: Santiago Vila for the bug report.
    Closes: #848060
---
 debian/rules                     | 5 ++++-
 debian/tests/pkg-perl/smoke-skip | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c242220..1381c17 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
 	dh $@
 
 # The tests need an X server. This provides one even inside a chroot
 override_dh_auto_test:
-	xvfb-run -a dh_auto_test
+	xvfb-run -a dh_auto_test -- TEST_FILES="$(TEST_FILES)"
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..ddb7a3c
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/XSetRoot.t
-- 
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