[libbtm-java] 10/12: Add disable-tests.patch

Markus Koschany apo at moszumanska.debian.org
Fri Aug 26 00:13:25 UTC 2016


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

apo pushed a commit to branch master
in repository libbtm-java.

commit 16ab960caa2084ee38e0749b2cea736f2763880f
Author: Markus Koschany <apo at debian.org>
Date:   Fri Aug 26 01:48:03 2016 +0200

    Add disable-tests.patch
    
    Closes: #829377
---
 debian/changelog                   |  2 ++
 debian/patches/disable-tests.patch | 25 +++++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37106bd..96d252a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ libbtm-java (2.1.4-3) unstable; urgency=medium
   [ Markus Koschany ]
   * Declare compliance with Debian Policy 3.9.8.
   * wrap-and-sort -sa.
+  * Add disable-tests.patch and disable the tests because they cause random
+    build failures. (Closes: #829377)
 
   [ tony mancill ]
   * Move the package to Git.
diff --git a/debian/patches/disable-tests.patch b/debian/patches/disable-tests.patch
new file mode 100644
index 0000000..56656d6
--- /dev/null
+++ b/debian/patches/disable-tests.patch
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 26 Aug 2016 01:47:41 +0200
+Subject: disable tests
+
+Tests cause random build failures which makes them not useful for debugging.
+
+Debian-Bug: https://bugs.debian.org/829377
+Forwarded: not-needed
+---
+ build.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build.xml b/build.xml
+index f7afdcd..2aed52e 100644
+--- a/build.xml
++++ b/build.xml
+@@ -27,7 +27,7 @@
+         <path refid="javac.classpath"/>
+     </path>
+ 
+-    <target name="all" depends="clean,build,test" description="Run clean,build,test"/>
++    <target name="all" depends="clean,build" description="Run clean,build"/>
+ 
+     <target name="build" description="Compile source files">
+         <mkdir dir="${dir.classes}"/>
diff --git a/debian/patches/series b/debian/patches/series
index 156edf2..e637b96 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 add-pom-file.patch
 transition-to-openjdk7.patch
 fix-jms-proper-usage-mock-test.patch
+disable-tests.patch

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



More information about the pkg-java-commits mailing list