[libparanamer-java] 24/26: Drop test patches and skip all tests for now until OpenJDK 8 is the

Markus Koschany apo-guest at moszumanska.debian.org
Tue Jan 26 14:45:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to annotated tag debian/2.8-1
in repository libparanamer-java.

commit 3ab01ee73a26f13e751b35162a1236dc3259218d
Author: Markus Koschany <apo at debian.org>
Date:   Tue Jan 26 15:14:30 2016 +0100

    Drop test patches and skip all tests for now until OpenJDK 8 is the
    
    new default JDK.
---
 debian/changelog                                   |  6 ++--
 debian/patches/01-ignore-javadoc-tests.patch       | 38 ----------------------
 .../patches/02-ignore-bootstrap-classes-test.patch | 17 ----------
 debian/patches/series                              |  2 --
 4 files changed, 4 insertions(+), 59 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c2145e9..e92e018 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,7 @@ libparanamer-java (2.8-1) unstable; urgency=medium
     - Switch to libasm4-java. (Closes: #800869)
     - Switch from libqdox-java to libqdox2-java.
     - Use Build-Depends field because this package only builds for arch:all.
-  * Vcs-Browser: Switch to https.
+  * Vcs-fields: Switch to https.
   * Update debian/watch. Watch github repository.
   * Add Files-Excluded paragraph and remove javadoc files and one js file
     which appears to be not the preferred form of modification.
@@ -16,10 +16,12 @@ libparanamer-java (2.8-1) unstable; urgency=medium
     jar file. This should prevent the FTBFS due to the missing artifact. For
     now paranamer-maven-plugin must be ignored in maven.ignoreRules until the
     new version enters the archive.
+  * Drop test patches and skip all tests for now until OpenJDK 8 is the new
+    default JDK.
   * Set sourceEncoding to UTF-8.
   * Update my e-mail address.
 
- -- Markus Koschany <apo at gambaru.de>  Tue, 26 Jan 2016 13:32:47 +0100
+ -- Markus Koschany <apo at debian.org>  Tue, 26 Jan 2016 15:16:09 +0100
 
 libparanamer-java (2.7+repack-1) unstable; urgency=medium
 
diff --git a/debian/patches/01-ignore-javadoc-tests.patch b/debian/patches/01-ignore-javadoc-tests.patch
deleted file mode 100644
index 0472799..0000000
--- a/debian/patches/01-ignore-javadoc-tests.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Description: Disables JavadocParanamerTest since it requires network connectivity and some resources not available in Debian.
-Author: Emmanuel Bourg <ebourg at pache.org>
-Forwarded: not-needed
---- a/paranamer/src/test/com/thoughtworks/paranamer/JavadocParanamerTest.java
-+++ b/paranamer/src/test/com/thoughtworks/paranamer/JavadocParanamerTest.java
-@@ -33,8 +33,6 @@
- import org.junit.Before;
- import org.junit.Ignore;
- import org.junit.Test;
--import org.netlib.blas.Dasum;
--import org.netlib.blas.Dgbmv;
- 
- import java.io.File;
- import java.io.FileFilter;
-@@ -50,6 +48,7 @@
- /**
-  * @author Samuel Halliday
-  */
-+ at Ignore
- public class JavadocParanamerTest extends AbstractParanamerTestCase {
- 
-     private static final String JAVADOCS_3 = "http://docs.oracle.com/javase/1.3/docs/api/";
-@@ -157,6 +156,7 @@
-     }
- 
-     public void f2J(Paranamer p) throws Exception {
-+/*
-         testAccessible(p, Dasum.class.getMethod("dasum",
-                 Integer.TYPE, double[].class, Integer.TYPE, Integer.TYPE),
-                 "n", "dx", "_dx_offset", "incx");
-@@ -168,6 +168,7 @@
-                 Integer.TYPE),
-                 "trans", "m", "n", "kl", "ku", "alpha", "a", "_a_offset", "lda",
-                 "x", "_x_offset", "incx", "beta", "y", "_y_offset", "incy");
-+*/
-     }
- 
-     private void testJavaIoFile(String fileOrDirectory) throws Exception {
diff --git a/debian/patches/02-ignore-bootstrap-classes-test.patch b/debian/patches/02-ignore-bootstrap-classes-test.patch
deleted file mode 100644
index 129cb2b..0000000
--- a/debian/patches/02-ignore-bootstrap-classes-test.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Ignore the test checking the parameter name of the java.lang.Integer(int)
- constructor. Unlike Oracle Java 7, OpenJDK 7 as packaged in Debian has LocalVariableTable
- attributes for the Integer class and causes testRetrievesParameterNamesFromBootstrapClassLoader
- to fail. The OpenJDK 8 package isn't affected by this issue, so this patch could be
- removed once openjdk-8-jdk is the default JDK.
-Author: Emmanuel Bourg <ebourg at pache.org>
-Forwarded: not-needed
---- a/paranamer/src/test/com/thoughtworks/paranamer/BytecodeReadingParanamerTestCase.java
-+++ b/paranamer/src/test/com/thoughtworks/paranamer/BytecodeReadingParanamerTestCase.java
-@@ -236,6 +236,7 @@
-     }
- 
-     @Test
-+    @org.junit.Ignore("The java.lang.Integer(int) constructor in openjdk-7 has a parameter name and causes this test to fail.")
-     public void testRetrievesParameterNamesFromBootstrapClassLoader() throws SecurityException, NoSuchMethodException {
-         BytecodeReadingParanamer asm = new BytecodeReadingParanamer();
-         Constructor<?> ctor = Integer.class.getConstructor(int.class);
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index bb8a505..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-01-ignore-javadoc-tests.patch
-02-ignore-bootstrap-classes-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libparanamer-java.git



More information about the pkg-java-commits mailing list