aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorjlaskey <none@none>2013-05-14 11:15:12 -0300
committerjlaskey <none@none>2013-05-14 11:15:12 -0300
commitc2f04981bd6598734bf19176a9c1f4ec88eea236 (patch)
treea6bf5a9af9ec6674c01b77d68217e9302880e237 /make
parent3bf3a34ea7846d59248d869815cf9b955ba836b5 (diff)
downloadnashorn-c2f04981bd6598734bf19176a9c1f4ec88eea236.tar.gz
8014512: Exclude testing and infrastructure packages from code coverage
Reviewed-by: sundar Contributed-by: james.laskey@oracle.com
Diffstat (limited to 'make')
-rw-r--r--make/code_coverage.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/make/code_coverage.xml b/make/code_coverage.xml
index 33980bdf..457f6308 100644
--- a/make/code_coverage.xml
+++ b/make/code_coverage.xml
@@ -139,6 +139,20 @@
<arg value="${cc.merged.xml}"/>
<arg value="-exclude"/>
<arg value="com\.oracle\.nashorn\.runtime\.ScriptRuntime*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.javaadapters*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.objects\.annotations*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.scripts*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.lookup\.MethodHandleFactory*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.test\.framework*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.test\.models*"/>
+ <arg value="-exclude"/>
+ <arg value="jdk\.nashorn\.internal\.ir\.debug*"/>
<arg line="${cc.all.xmls}"/>
<classpath>
<pathelement location="${jcov.jar}"/>