nashorn/make/code_coverage.xml
author jlahoda
Fri, 15 May 2015 11:41:04 +0200
changeset 30717 4ed55656acd7
parent 19097 f544a2ea40ef
permissions -rw-r--r--
8076104: Key collisions in ZipFileIndexFileObject content cache lead to wrong content Summary: equals&hashCode of ZipFileObject and ZipFileIndexFileObject need to be based on full entry path, not only the file name. Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     2
<!--
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     3
 Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     5
 
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     8
 published by the Free Software Foundation.
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
     9
 
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    14
 accompanied this code).
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    15
 
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    19
 
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    22
 questions.
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    23
-->
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    24
<project name="code-coverage" default="generate-code-coverage-report" basedir="..">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    25
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    26
  <!-- CODE COVERAGE -->
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    27
  <target name="init-cc-enabled" if="${cc.enabled}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    28
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    29
    <echo message="initialize [${jcov}] java coverage"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    30
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    31
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    32
    <property name="cc.report.dir" value="${cc.dir}/CC_${jcov}_report"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    33
    <property name="cc.merged.xml" value="${cc.dir}/CC_${jcov}_result-merged.xml"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    34
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    35
    <condition property="run.test.cc.jvmargs" value="${cc.dynamic.args}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    36
      <equals arg1="${jcov}" arg2="dynamic" trim="true"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    37
    </condition>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    38
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    39
    <condition property="cc.generate.template" value="true">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    40
      <equals arg1="${cc.dynamic.genereate.template}" arg2="true" trim="true"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    41
    </condition>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    42
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    43
    <mkdir dir="${cc.dir}"/>
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    44
    <mkdir dir="${build.dir}/to_be_instrumented"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    45
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    46
    <!-- info -->
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    47
    <echo message="jcov=${jcov}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    48
    <echo message="cc.generate.template=${cc.generate.template}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    49
    <echo message="cc.instrument=${cc.instrument}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    50
    <echo message="run.test.cc.jvmargs=${run.test.cc.jvmargs}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    51
    <echo message="cc.report.dir=${cc.report.dir}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    52
    <echo message="cc.merged.xml=${cc.merged.xml}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    53
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    54
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    55
  <target name="init-cc-disabled" unless="${cc.enabled}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    56
    <property name="run.test.cc.jvmargs" value=""/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    57
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    58
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    59
  <target name="prepare-to-be-instrumented" depends="compile" description="Prepares to_be_instrumented dir">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    60
    <copy todir="${build.dir}/to_be_instrumented">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    61
      <fileset dir="${build.classes.dir}">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    62
        <include name="**/*.class"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    63
      </fileset>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    64
    </copy>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    65
  </target>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    66
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    67
  <target name="generate-cc-template" depends="prepare-to-be-instrumented" description="Generates code coverage template for dynamic CC" if="cc.generate.template">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    68
    <property name="cc.instrumented.path" location="${build.dir}/to_be_instrumented"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    69
    <java classname="com.sun.tdk.jcov.TmplGen">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    70
      <arg value="-verbose"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    71
      <arg line="-include ${cc.include}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    72
      <arg line="-type all"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    73
      <arg line="-template ${cc.template}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    74
      <arg value="${cc.instrumented.path}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    75
      <classpath>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    76
        <pathelement location="${jcov.jar}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    77
      </classpath>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    78
    </java>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    79
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    80
    <java classname="com.sun.tdk.jcov.RepGen">
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    81
      <arg value="-verbose"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    82
      <arg line="-output ${cc.dir}/CC_template_report"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    83
      <arg value="${cc.template}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    84
      <classpath>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    85
        <pathelement location="${jcov.jar}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    86
      </classpath>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    87
    </java>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    88
  </target>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    89
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    90
  <target name="init-cc" depends="init-cc-disabled, init-cc-enabled">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    91
    <property name="run.test.cc.jvmargs" value=""/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    92
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    93
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    94
  <target name="init-cc-cleanup" if="${cc.enabled}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    95
    <delete dir="${cc.dir}" failonerror="false" />
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
    96
    <delete dir="${build.dir}/to_be_instrumented" failonerror="false" />
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    97
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    98
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
    99
  <target name="check-merging-files" depends="init">
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   100
	<echo message="checking avalibility of ${cc.template}"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   101
    <condition property="nothing-to-merge" value="true">
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   102
		<not>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   103
	      <available file="${cc.template}"/>
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   104
		</not>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   105
    </condition>
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   106
	<echo message="nothing-to-merge = ${nothing-to-merge}"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   107
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   108
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   109
  <target name="fix-merging-files" depends="check-merging-files" if="${nothing-to-merge}">
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   110
	<echo message="making pre-merge workaround due to missed template"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   111
	<move todir="${cc.dir}" includeemptydirs="false">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   112
		<fileset dir="${cc.dir}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   113
			<include name="*.xml"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   114
		</fileset>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   115
		<mapper type="glob" from="*.xml" to="CC_${jcov}_result-merged.xml"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   116
	</move>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   117
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   118
 
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   119
  <target name="merge-code-coverage" depends="fix-merging-files" unless="${nothing-to-merge}">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   120
	<echo message="merging files"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   121
    <fileset dir="${cc.dir}" id="cc.xmls">
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   122
      <include name="**/*_${jcov}_*.xml"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   123
      <include name="**/CC_template.xml"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   124
    </fileset>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   125
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   126
    <pathconvert pathsep=" " property="cc.all.xmls" refid="cc.xmls"/>
16529
fb3208bbd5dc 8009969: CodeCoverage should use template
jlaskey
parents: 16255
diff changeset
   127
	<echo message="merging files - ${cc.all.xmls}" />
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   128
    <java classname="com.sun.tdk.jcov.Merger">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   129
      <arg value="-verbose"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   130
      <arg value="-output"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   131
      <arg value="${cc.merged.xml}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   132
      <arg value="-exclude"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   133
      <arg value="com\.oracle\.nashorn\.runtime\.ScriptRuntime*"/>
17742
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   134
      <arg value="-exclude"/>
19097
f544a2ea40ef 8021262: Make nashorn access checks consistent with underlying dynalink
sundar
parents: 18855
diff changeset
   135
      <arg value="jdk\.nashorn\.javaadapters*"/>
17742
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   136
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   137
      <arg value="jdk\.nashorn\.internal\.objects\.annotations*"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   138
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   139
      <arg value="jdk\.nashorn\.internal\.scripts*"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   140
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   141
      <arg value="jdk\.nashorn\.internal\.lookup\.MethodHandleFactory*"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   142
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   143
      <arg value="jdk\.nashorn\.internal\.test\.framework*"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   144
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   145
      <arg value="jdk\.nashorn\.test\.models*"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   146
      <arg value="-exclude"/>
55c938a4618a 8014512: Exclude testing and infrastructure packages from code coverage
jlaskey
parents: 16529
diff changeset
   147
      <arg value="jdk\.nashorn\.internal\.ir\.debug*"/>
17749
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   148
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   149
      <arg value="jdk\.nashorn\.internal\.runtime\.regexp\.joni\.bench*"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   150
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   151
      <arg value="jdk\.nashorn\.internal\.runtime\.DebugLogger*"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   152
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   153
      <arg value="jdk\.nashorn\.internal\.runtime\.Timing*"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   154
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   155
      <arg value="jdk\.nashorn\.internal\.runtime\.Logging*"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   156
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   157
      <arg value="jdk\.nashorn\.internal\.runtime\.Debug*"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   158
      <arg value="-exclude"/>
0f0fad887be7 8014648: Exclude testing and infrastructure packages from code coverage, round two
jlaskey
parents: 17742
diff changeset
   159
      <arg value="jdk\.nashorn\.internal\.objects\.NativeDebug*"/>
16255
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   160
      <arg line="${cc.all.xmls}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   161
      <classpath>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   162
        <pathelement location="${jcov.jar}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   163
      </classpath>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   164
    </java>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   165
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   166
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   167
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   168
  <target name="generate-code-coverage-report" depends="merge-code-coverage">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   169
    <java classname="com.sun.tdk.jcov.RepGen">
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   170
      <arg value="-verbose"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   171
<!--      <arg line ="-exclude_list CC.report.exclude"/> -->
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   172
      <arg line="-output ${cc.report.dir}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   173
      <arg value="${cc.merged.xml}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   174
      <classpath>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   175
        <pathelement location="${jcov.jar}"/>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   176
      </classpath>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   177
    </java>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   178
  </target>
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   179
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   180
cb52a2524ca8 8008575: Re-integrate code coverage
lagergren
parents:
diff changeset
   181
</project>