-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi all,

Rather than disabling the tests completely, I think it would be better
to instead to use xvfb-run. The attached patch does so. I can confirm
that it allows the tests to complete successfully when building the
package inside a clean sid pbuilder.

Let me know if you have any objections. Unless you do, I'll be seeking
sponsorship for a NMU as this is an RC bug.

Thanks!

- - Andrew Starr-Bochicchio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQW3JSAAoJEDtW4rvVP9yxgfEP/2+3y2rE4mjzYGCxmyrMyK4s
qFvXsG6xydOjzc5S9BGpHPLN2j6k8RTAQ67VCQ+B5LHd3L/IQXnnrx/i5AxYUKqY
dAZlMKL+vZ67lNHmxThrLKuMGOS2D+hh0DDtyYERgEyb1JzQt3EqvnIaGlzHEu8h
37WXigBBlisvCwouBJ6NVmY60Z4KO7ocsxSKO6N+8pkEFPcpDjYXvXNsTft+JmtN
sd5zUjgpU9ZsIH31JgQDK2oeKWnxgpyNvsBcczBCW08CiEyPxi3v6WceUf2jp4yx
yMP8vnh+e7HOZu/wJiSSRi1QYHT6eHsypi0+R30274psidJBe8L18VNXuQY3eSao
lwb1BQtNH8opc+dptSxF3e63aAzCTByAPDraroCcUBhQTd8Gx+SdI+/hXgGGMQSA
9WU97XGpHC3eTIh0Nj3TimJRCzaVr6V5mJWBuRd0rnMrRISv2K8zLyF/Ji77qBOY
sZzo7bOYjmXy098chC9RkZFl2/wJ2NfTFBm4MVR6bK6NBdK5koLvVVyeKPONgnVX
ee7qnFKcKYtdJCfKrCNttLG1Q6V52XKu9z+xd6s5OBp6FnzxcrjD4x22bQ7EjNpJ
ufQ4wI+Lju8HOH8UTa2nW/JazdgmTb8NUA4+Jhs3JGK8uKsiHUxKZtBCk/q7QJC/
oxAJdM4gvNtwn/GcSWGn
=4ckR
-----END PGP SIGNATURE-----
diff -Nru jscribble-1.7.7/debian/changelog jscribble-1.7.7/debian/changelog
--- jscribble-1.7.7/debian/changelog    2012-04-21 15:17:06.000000000 -0400
+++ jscribble-1.7.7/debian/changelog    2012-09-20 15:10:17.000000000 -0400
@@ -1,3 +1,12 @@
+jscribble (1.7.7-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: Tests require an X server so call them
+    with xvfb-run. (Closes: #687406)
+  * debian/control: Build depend on xauth and xvfb.
+
+ -- Andrew Starr-Bochicchio <a.star...@gmail.com>  Thu, 20 Sep 2012 15:08:02 
-0400
+
 jscribble (1.7.7-1) unstable; urgency=high
 
   [ Martin Ueding ]
diff -Nru jscribble-1.7.7/debian/control jscribble-1.7.7/debian/control
--- jscribble-1.7.7/debian/control      2012-04-21 07:31:04.000000000 -0400
+++ jscribble-1.7.7/debian/control      2012-09-20 15:07:42.000000000 -0400
@@ -2,7 +2,7 @@
 Section: utils
 Priority: extra
 Maintainer: Martin Ueding <d...@martin-ueding.de>
-Build-Depends: debhelper (>= 8), default-jdk (>= 1:1.6), junit (>= 3), 
php5-cli, python-docutils
+Build-Depends: debhelper (>= 8), default-jdk (>= 1:1.6), junit (>= 3), 
php5-cli, python-docutils, xauth, xvfb
 Standards-Version: 3.9.3
 Homepage: http://martin-ueding.de/jscribble/
 
diff -Nru jscribble-1.7.7/debian/rules jscribble-1.7.7/debian/rules
--- jscribble-1.7.7/debian/rules        2011-11-27 08:13:56.000000000 -0500
+++ jscribble-1.7.7/debian/rules        2012-09-20 15:28:06.000000000 -0400
@@ -3,3 +3,6 @@
 
 %:
        dh $@ 
+
+override_dh_auto_test:
+       xvfb-run -a dh_auto_test

Reply via email to