File: disable-jacoco.patch

package info (click to toggle)
tomcat10 10.1.46-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 47,452 kB
  • sloc: java: 372,028; xml: 58,352; jsp: 4,737; sh: 1,381; perl: 324; makefile: 25; ansic: 14
file content (46 lines) | stat: -rw-r--r-- 1,227 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
41
42
43
44
45
46
From: Markus Koschany <apo@debian.org>
Date: Wed, 1 Feb 2023 00:11:33 +0100
Subject: disable-jacoco

Forwarded: not-needed
---
 build.xml | 12 ------------
 1 file changed, 12 deletions(-)

--- a/build.xml
+++ b/build.xml
@@ -2060,10 +2060,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"
@@ -2144,7 +2140,6 @@
             <fileset dir="test" includes="**/SecurityManager.java" excludes="${test.exclude}" />
           </batchtest>
         </junit>
-      </jacoco:coverage>
     </sequential>
   </macrodef>
 
@@ -3740,15 +3735,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" >