[openjfx] 01/02: Disabled the buildSrc tests to work around a Gradle bug

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 4 18:02:13 UTC 2017


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

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

commit 9d211f08cf48f2acd6ff9f4d07839b0139cbd777
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Oct 4 17:33:39 2017 +0200

    Disabled the buildSrc tests to work around a Gradle bug
---
 debian/changelog                               |  1 +
 debian/patches/24-disable-buildSrc-tests.patch | 13 +++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d91e02f..65fb71c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ openjfx (8u141-b14-1) UNRELEASED; urgency=medium
   * Backported a fix for accented characters in textfields (Closes: #872619)
   * libopenjfx-java now suggests installing openjfx (Closes: #849419)
   * Added lintian overrides to remove the warnings related to the js files
+  * Disabled the buildSrc tests to work around a Gradle bug
   * Standards-Version updated to 4.1.1
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 20 Apr 2017 10:12:13 +0200
diff --git a/debian/patches/24-disable-buildSrc-tests.patch b/debian/patches/24-disable-buildSrc-tests.patch
new file mode 100644
index 0000000..65c8643
--- /dev/null
+++ b/debian/patches/24-disable-buildSrc-tests.patch
@@ -0,0 +1,13 @@
+Description: Disables the buildSrc tests to work around a Gradle bug (UnsupportedOperationException: Cannot nest operations in the same thread)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/buildSrc/build.gradle
++++ b/buildSrc/build.gradle
+@@ -96,6 +96,7 @@
+ // Java 7 but when we switch to 8 this will be needed, and probably again when
+ // we start building with Java 9.
+ test {
++    enabled = false;
+     jvmArgs("-Djava.ext.dirs=");
+     enableAssertions = true;
+     testLogging.exceptionFormat = "full";
diff --git a/debian/patches/series b/debian/patches/series
index f54f0eb..4556583 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@ fix-arm32-build.patch
 21-gcc7-compatibility.patch
 22-JDK-8185792-accented-characters-support.patch
 23-webcore-linker-flags.patch
+24-disable-buildSrc-tests.patch

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



More information about the pkg-java-commits mailing list