On Thu, 20 Sep 2012 05:58:52 +0900, Hideki Yamane wrote:

> 
>  I've investigate this issue, and root cause is failure with access
>  to X11 server as below.

Agreed.
 
> > 1) 
> > testAutomaticSaveOnPageFlipForward(tests.jscribble.notebook.NoteBookTest)java.lang.InternalError:
> >  Can't connect to X11 window server using ':0' as the value of the DISPLAY 
> > variable.
>  So I just disabled its test by attached patch. Please consider if you
>  apply the patch or not.

A nicer alternative would be to run the tests under xvfb.
Cf. the attached patch which works for me. Could you also try it
please?

Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dido: Here With Me
diff -Nru jscribble-1.7.7/debian/changelog jscribble-1.7.7/debian/changelog
--- jscribble-1.7.7/debian/changelog	2012-04-21 21:17:06.000000000 +0200
+++ jscribble-1.7.7/debian/changelog	2012-09-20 21:29:41.000000000 +0200
@@ -1,3 +1,11 @@
+jscribble (1.7.7-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: junit fails": run tests under xvfb.
+    (Closes: #687406)
+
+ -- gregor herrmann <gre...@debian.org>  Thu, 20 Sep 2012 21:26:03 +0200
+
 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 13:31:04.000000000 +0200
+++ jscribble-1.7.7/debian/control	2012-09-20 21:27:59.000000000 +0200
@@ -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, xvfb, xauth
 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 14:13:56.000000000 +0100
+++ jscribble-1.7.7/debian/rules	2012-09-20 21:28:24.000000000 +0200
@@ -3,3 +3,6 @@
 
 %:
 	dh $@ 
+
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test

Attachment: signature.asc
Description: Digital signature

Reply via email to