tags 690153 +pending
thanks

Hi,

I have uploaded an NMU to DELAYED/3 disabling the offending test, it now
builds fine in sbuild for me.

The debdiff is attached.


Cheers,

Michael
diff -Nru jscribble-1.7.7/debian/changelog jscribble-1.7.7/debian/changelog
--- jscribble-1.7.7/debian/changelog    2012-09-21 14:13:08.000000000 +0200
+++ jscribble-1.7.7/debian/changelog    2012-11-23 23:15:42.000000000 +0100
@@ -1,3 +1,14 @@
+jscribble (1.7.7-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/disable_NoteBookTest.patch: New patch, removes
+    tests/jscribble/notebook/NoteBookTest.java as it hangs when building
+    with sbuild. The test-target in the top-level Makefile had to be
+    changed so junit would not try to build the backup java file in .pc/
+    (Closes: #690153).
+
+ -- Michael Banck <mba...@debian.org>  Fri, 23 Nov 2012 23:00:02 +0100
+
 jscribble (1.7.7-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru jscribble-1.7.7/debian/patches/disable_NoteBookTest.patch 
jscribble-1.7.7/debian/patches/disable_NoteBookTest.patch
--- jscribble-1.7.7/debian/patches/disable_NoteBookTest.patch   1970-01-01 
01:00:00.000000000 +0100
+++ jscribble-1.7.7/debian/patches/disable_NoteBookTest.patch   2012-11-23 
23:25:16.000000000 +0100
@@ -0,0 +1,29 @@
+--- ./tests/JscribbleTestSuite.java.orig       2012-11-23 23:07:27.858585412 
+0100
++++ ./tests/JscribbleTestSuite.java    2012-11-23 23:07:39.042640879 +0100
+@@ -25,7 +25,6 @@
+ import tests.jscribble.drawPanel.HelpItemTest;
+ import tests.jscribble.helpers.FileComparatorTest;
+ import tests.jscribble.notebook.NoteBookCompressorTest;
+-import tests.jscribble.notebook.NoteBookTest;
+ import tests.jscribble.notebook.NoteSheetFileFilterTest;
+ import tests.jscribble.notebook.NoteSheetTest;
+ import tests.jscribble.notebook.WriteoutThreadTest;
+@@ -44,7 +43,6 @@
+               suite.addTestSuite(FileComparatorTest.class);
+               suite.addTestSuite(HelpItemTest.class);
+               suite.addTestSuite(NoteBookCompressorTest.class);
+-              suite.addTestSuite(NoteBookTest.class);
+               suite.addTestSuite(NoteSheetFileFilterTest.class);
+               suite.addTestSuite(NoteSheetTest.class);
+               suite.addTestSuite(VersionNameTest.class);
+--- ./makefile.orig    2012-11-23 23:24:29.831653097 +0100
++++ ./makefile 2012-11-23 23:25:04.039822732 +0100
+@@ -24,7 +24,7 @@
+ 
+ # Find all the Java files in the source tree and generate a matching list of
+ # class files (targets) from that.
+-alljavafiles:=$(shell find . -name "*.java")
++alljavafiles:=$(shell find . \( ! -regex '.*/\..*' \)  -name "*.java")
+ allclassfiles:=$(alljavafiles:.java=.class)
+ javafiles:=$(shell find jscribble -name "*.java")
+ classfiles:=$(javafiles:.java=.class)
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 01:00:00.000000000 
+0100
+++ jscribble-1.7.7/debian/patches/series       2012-11-23 22:59:17.000000000 
+0100
@@ -0,0 +1 @@
+disable_NoteBookTest.patch

Reply via email to