tags 687406 patch
thanks

Hi,

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

> 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.

 Thanks.

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -Nru jscribble-1.7.7/debian/changelog jscribble-1.7.7/debian/changelog
--- jscribble-1.7.7/debian/changelog	2012-04-22 04:17:06.000000000 +0900
+++ jscribble-1.7.7/debian/changelog	2012-09-20 05:48:24.000000000 +0900
@@ -1,3 +1,12 @@
+jscribble (1.7.7-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches
+    - add "disable-NoteBookTest.java", disabling test cases to avoid test 
+      failure with X connection from chroot (Closes: #687406)
+
+ -- Hideki Yamane <henr...@debian.org>  Thu, 20 Sep 2012 05:41:08 +0900
+
 jscribble (1.7.7-1) unstable; urgency=high
 
   [ Martin Ueding ]
diff -Nru jscribble-1.7.7/debian/patches/disable-NoteBookTest.java jscribble-1.7.7/debian/patches/disable-NoteBookTest.java
--- jscribble-1.7.7/debian/patches/disable-NoteBookTest.java	1970-01-01 09:00:00.000000000 +0900
+++ jscribble-1.7.7/debian/patches/disable-NoteBookTest.java	2012-09-20 05:41:02.000000000 +0900
@@ -0,0 +1,23 @@
+Description: disable test since cannot connect to X from chroot
+
+Author: Hideki Yamane <henr...@debian.org>
+Bug-Debian: 687406
+
+---
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/687406
+Forwarded: not-needed
+Last-Update: 20120920
+
+--- jscribble-1.7.7.orig/tests/JscribbleTestSuite.java
++++ jscribble-1.7.7/tests/JscribbleTestSuite.java
+@@ -25,7 +25,8 @@ import tests.jscribble.VersionNameTest;
+ import tests.jscribble.drawPanel.HelpItemTest;
+ import tests.jscribble.helpers.FileComparatorTest;
+ import tests.jscribble.notebook.NoteBookCompressorTest;
+-import tests.jscribble.notebook.NoteBookTest;
++//TODO disable since cannot connect to X from chroot
++//import tests.jscribble.notebook.NoteBookTest;
+ import tests.jscribble.notebook.NoteSheetFileFilterTest;
+ import tests.jscribble.notebook.NoteSheetTest;
+ import tests.jscribble.notebook.WriteoutThreadTest;
diff -Nru jscribble-1.7.7/debian/patches/series jscribble-1.7.7/debian/patches/series
--- jscribble-1.7.7/debian/patches/series	1970-01-01 09:00:00.000000000 +0900
+++ jscribble-1.7.7/debian/patches/series	2012-09-20 05:39:06.000000000 +0900
@@ -0,0 +1 @@
+disable-NoteBookTest.java

Reply via email to