File: disable-jacoco.patch

package info (click to toggle)
tomcat11 11.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 46,360 kB
  • sloc: java: 366,026; xml: 55,052; jsp: 4,700; sh: 1,304; perl: 314; makefile: 25; ansic: 15
file content (40 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Disable jacoco test coverage
Author: Markus Koschany <apo@debian.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -2048,10 +2048,6 @@
 
     <sequential>
       <mkdir dir="${test.reports}" />
-      <jacoco:coverage
-          enabled="${test.coverage}"
-          destfile="${coverage.datafile}"
-          >
         <junit printsummary="yes" fork="yes" dir="." showoutput="${test.verbose}"
           errorproperty="test.result.error"
           failureproperty="test.result.failure"
@@ -2119,7 +2115,6 @@
             </fileset>
           </batchtest>
         </junit>
-      </jacoco:coverage>
     </sequential>
   </macrodef>
 
@@ -3635,15 +3630,8 @@
     <path id="jacoco.classpath">
       <fileset file="${jacoco.jar}" />
     </path>
-
-    <taskdef uri="antlib:org.jacoco.ant"
-             resource="org/jacoco/ant/antlib.xml"
-             classpathref="jacoco.classpath"
-             />
-
   </target>
 
-
   <target name="download-spotbugs"
           if="${execute.spotbugs}"
           description="Download SpotBugs" >