8014512: Exclude testing and infrastructure packages from code coverage
authorjlaskey
Tue, 14 May 2013 11:15:12 -0300
changeset 17742 55c938a4618a
parent 17517 6307da5e2b0f
child 17743 ecc98238ef11
8014512: Exclude testing and infrastructure packages from code coverage Reviewed-by: sundar Contributed-by: james.laskey@oracle.com
nashorn/make/code_coverage.xml
--- a/nashorn/make/code_coverage.xml	Thu May 02 15:01:16 2013 -0300
+++ b/nashorn/make/code_coverage.xml	Tue May 14 11:15:12 2013 -0300
@@ -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}"/>