[javassist] 01/02: Add disable-JIRA150-test.patch.

Markus Koschany apo at moszumanska.debian.org
Fri Aug 26 13:57:14 UTC 2016


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

apo pushed a commit to branch master
in repository javassist.

commit 9cece19b753c27b4732ae607676a537371470aa7
Author: Markus Koschany <apo at debian.org>
Date:   Fri Aug 26 15:48:41 2016 +0200

    Add disable-JIRA150-test.patch.
    
    Disable JIRA150 test that takes the performance of the host system into
    account. This may lead to random build failures.
    
    Closes: #834833
---
 debian/patches/disable-JIRA150-test.patch | 32 +++++++++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 33 insertions(+)

diff --git a/debian/patches/disable-JIRA150-test.patch b/debian/patches/disable-JIRA150-test.patch
new file mode 100644
index 0000000..6cc326f
--- /dev/null
+++ b/debian/patches/disable-JIRA150-test.patch
@@ -0,0 +1,32 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 26 Aug 2016 15:48:26 +0200
+Subject: disable JIRA150 test
+
+Debian-Bug: https://bugs.debian.org/834833
+Forwarded: not-needed
+---
+ src/test/javassist/JvstTest4.java | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java
+index 549102f..20e5c90 100644
+--- a/src/test/javassist/JvstTest4.java
++++ b/src/test/javassist/JvstTest4.java
+@@ -617,7 +617,7 @@ public class JvstTest4 extends JvstTestRoot {
+         }
+     }
+ 
+-    public void testJIRA150() throws Exception {
++    /*public void testJIRA150() throws Exception {
+         ClassPool pool = new ClassPool(true);
+         for(int paths=0; paths<50; paths++) {
+             pool.appendClassPath(JAVASSIST_JAR);
+@@ -664,7 +664,7 @@ public class JvstTest4 extends JvstTestRoot {
+         assertTrue("performance test (the next try may succeed): " + t2 + " < 6 * " + t1,
+                    t2 < t1 * 6);
+         assertTrue(t3 + " < 3 * " + t1, t3 < t1 * 3);
+-    }
++    }*/
+ 
+     public void testJIRA150b() throws Exception {
+         int origSize = javassist.compiler.MemberResolver.getInvalidMapSize();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..897006f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-JIRA150-test.patch

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



More information about the pkg-java-commits mailing list