diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-15 13:38:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-15 13:38:09 +0100 |
commit | db70871b2044b9bfde346d6f4027dafb0a013c4c (patch) | |
tree | 34548aee54e5458d3754bd8c8f987acdb5ee444c /net-vpn/i2p/files | |
parent | 1c382dc5dbc52576ac2300fee0498af8af44e7b4 (diff) |
gentoo auto-resync : 15:06:2023 - 13:38:09
Diffstat (limited to 'net-vpn/i2p/files')
-rw-r--r-- | net-vpn/i2p/files/2.2.1-fix-junit-classpath.patch | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/net-vpn/i2p/files/2.2.1-fix-junit-classpath.patch b/net-vpn/i2p/files/2.2.1-fix-junit-classpath.patch new file mode 100644 index 000000000000..95211bf9cad0 --- /dev/null +++ b/net-vpn/i2p/files/2.2.1-fix-junit-classpath.patch @@ -0,0 +1,122 @@ +diff --git a/apps/i2ptunnel/java/build.xml b/apps/i2ptunnel/java/build.xml +index b8d8b24a9..cfcf2d5a1 100644 +--- a/apps/i2ptunnel/java/build.xml ++++ b/apps/i2ptunnel/java/build.xml +@@ -465,7 +465,7 @@ + <target name="test" depends="clean, compileTest"> + <junit printsummary="on" fork="yes"> + <classpath> +- <pathelement path="${classpath}" /> ++ <pathelement path="${gentoo.classpath}" /> + <pathelement location="./build/obj" /> + <pathelement location="../../../core/java/build/i2p.jar" /> + </classpath> +diff --git a/apps/ministreaming/java/build.xml b/apps/ministreaming/java/build.xml +index 72944b25c..cef8a091f 100644 +--- a/apps/ministreaming/java/build.xml ++++ b/apps/ministreaming/java/build.xml +@@ -310,22 +310,12 @@ + <junit printsummary="withOutAndErr" fork="yes" showoutput="yes" > + <sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" /> + <classpath> +- <pathelement path="${javac.classpath}" /> +- <pathelement location="${hamcrest.home}/hamcrest-core.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-library.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-integration.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-all.jar" /> +- <pathelement location="${mockito.home}/byte-buddy.jar" /> +- <pathelement location="${mockito.home}/objenesis.jar" /> +- <pathelement location="${mockito.home}/mockito-core.jar" /> +- <pathelement location="${junit.home}/junit4.jar" /> ++ <pathelement path="${gentoo.classpath}" /> + <pathelement location="./build/obj_cobertura" /> + <pathelement location="./build/obj" /> + <pathelement location="../../../core/java/build/i2ptest.jar" /> + <pathelement location="../../../core/java/build/i2p.jar" /> + <pathelement location="../../build/jbigi.jar" /> +- <pathelement location="${with.clover}" /> +- <pathelement location="${with.cobertura}" /> + </classpath> + <batchtest todir="../../../reports/ministreaming/junit/"> + <fileset dir="./test/junit"> +diff --git a/apps/streaming/java/build.xml b/apps/streaming/java/build.xml +index ecfa0ebfd..395bc5aeb 100644 +--- a/apps/streaming/java/build.xml ++++ b/apps/streaming/java/build.xml +@@ -126,23 +126,13 @@ + <junit printsummary="withOutAndErr" fork="yes" showoutput="yes" > + <sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" /> + <classpath> +- <pathelement path="${javac.classpath}" /> +- <pathelement location="${hamcrest.home}/hamcrest-core.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-library.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-integration.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-all.jar" /> +- <pathelement location="${mockito.home}/byte-buddy.jar" /> +- <pathelement location="${mockito.home}/objenesis.jar" /> +- <pathelement location="${mockito.home}/mockito-core.jar" /> +- <pathelement location="${junit.home}/junit4.jar" /> ++ <pathelement path="${gentoo.classpath}" /> + <pathelement location="./build/obj_cobertura" /> + <pathelement location="./build/obj" /> + <pathelement location="../../../core/java/build/i2ptest.jar" /> + <pathelement location="../../../core/java/build/i2p.jar" /> + <pathelement location="../../ministreaming/java/build/mstreaming.jar" /> + <pathelement location="../../build/jbigi.jar" /> +- <pathelement location="${with.clover}" /> +- <pathelement location="${with.cobertura}" /> + </classpath> + <batchtest todir="../../../reports/streaming/junit/"> + <fileset dir="./test/junit"> +diff --git a/core/java/build.xml b/core/java/build.xml +index 8b36ce5f0..305ddd6ee 100644 +--- a/core/java/build.xml ++++ b/core/java/build.xml +@@ -469,22 +469,12 @@ + <junit printsummary="withOutAndErr" fork="yes" maxmemory="384m" showoutput="yes" > + <sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" /> + <classpath> ++ <pathelement path="${gentoo.classpath}" /> + <pathelement location="../../installer/resources/" /> +- <pathelement path="${javac.classpath.mod}" /> +- <pathelement location="${hamcrest.home}/hamcrest-core.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-library.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-integration.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-all.jar" /> +- <pathelement location="${mockito.home}/byte-buddy.jar" /> +- <pathelement location="${mockito.home}/objenesis.jar" /> +- <pathelement location="${mockito.home}/mockito-core.jar" /> +- <pathelement location="${junit.home}/junit4.jar" /> + <pathelement location="./build/obj_cobertura" /> + <pathelement location="./build/obj" /> + <pathelement location="./test/resources" /> + <pathelement location="../../build/jbigi.jar" /> +- <pathelement location="${with.clover}" /> +- <pathelement location="${with.cobertura}" /> + </classpath> + <batchtest todir="../../reports/core/junit/"> + <fileset dir="./test/junit/"> +diff --git a/router/java/build.xml b/router/java/build.xml +index 4b0cedf2b..0385926ac 100644 +--- a/router/java/build.xml ++++ b/router/java/build.xml +@@ -419,18 +419,11 @@ + <junit printsummary="withOutAndErr" fork="yes" showoutput="yes" > + <sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" /> + <classpath> +- <pathelement path="${javac.classpath}" /> +- <pathelement location="${hamcrest.home}/hamcrest-core.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-library.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-integration.jar" /> +- <pathelement location="${hamcrest.home}/hamcrest-all.jar" /> +- <pathelement location="${junit.home}/junit4.jar" /> ++ <pathelement path="${gentoo.classpath}" /> + <pathelement location="./build/obj_cobertura" /> + <pathelement location="./build/obj" /> + <pathelement location="../../core/java/build/i2ptest.jar" /> + <pathelement location="../../build/jbigi.jar" /> +- <pathelement location="${with.clover}" /> +- <pathelement location="${with.cobertura}" /> + </classpath> + <batchtest todir="../../reports/router/junit/"> + <fileset dir="./test/junit"> |