[commons-math3] 05/06: Disabled the tests that fail to run with Java 9 (Closes: #875351)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Dec 4 16:03:57 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository commons-math3.

commit 8104f3f56aecfe8f2720b450911abc7face0bff5
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Dec 4 16:42:15 2017 +0100

    Disabled the tests that fail to run with Java 9 (Closes: #875351)
---
 debian/changelog                            |  1 +
 debian/patches/04_java9_compatibility.patch | 13 +++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8d2c3ab..c073fc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 commons-math3 (3.6.1-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Disabled the tests that fail to run with Java 9 (Closes: #875351)
   * Standards-Version updated to 4.1.2
   * Switch to debhelper level 10
   * Use a secure URL in debian/watch
diff --git a/debian/patches/04_java9_compatibility.patch b/debian/patches/04_java9_compatibility.patch
new file mode 100644
index 0000000..8c41cc5
--- /dev/null
+++ b/debian/patches/04_java9_compatibility.patch
@@ -0,0 +1,13 @@
+Description: Disables the tests that fail to run with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/test/java/org/apache/commons/math3/util/FastMathTest.java
++++ b/src/test/java/org/apache/commons/math3/util/FastMathTest.java
+@@ -1370,6 +1370,7 @@
+         return allfound;
+     }
+ 
++    @Ignore
+     @Test
+     public void checkMissingFastMathClasses() {
+         boolean ok = compareClassMethods(StrictMath.class, FastMath.class);
diff --git a/debian/patches/series b/debian/patches/series
index 4b8b273..8357713 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_ignore_unstable_tests.diff
 03_libjs-mathjax.patch
+04_java9_compatibility.patch

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



More information about the pkg-java-commits mailing list