Help clover, hopefully

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2012-02-11 19:26:18 +00:00
parent a53da14ec6
commit 6f5bf1c821
1 changed files with 6 additions and 15 deletions

View File

@ -148,18 +148,13 @@
-->
<target name="generate-clover-reports" depends="clover.check, clover">
<mkdir dir="${clover.report.dir}"/>
<!-- This extra path is needed, because from a top-level ant run, the contrib tests would be not visible (report generation is only done on top-level not via subants) -->
<fileset dir="contrib" id="clover.contrib.test.src.files">
<include name="**/test/**/*.java"/>
<fileset dir="." id="clover.test.src.files">
<include name="**/src/test/**/*.java"/>
<include name="test-framework/src/java/**/*.java"/>
<exclude name="lucene/backwards/**"/>
</fileset>
<fileset dir="${tests-framework.src.dir}" id="clover.test-framework.src.files">
<include name="**/*.java" />
</fileset>
<fileset dir="${tests.src.dir}" id="clover.test.src.files">
<include name="**/*.java" />
</fileset>
<fileset dir="${build.dir}" id="clover.test.result.files">
<include name="**/test/TEST-*.xml" />
<fileset dir="build" id="clover.test.result.files">
<include name="**/test/TEST-*.xml"/>
<!-- do not include BW tests -->
<exclude name="backwards/**"/>
</fileset>
@ -167,15 +162,11 @@
<current outfile="${clover.report.dir}" title="${final.name}" numThreads="0">
<format type="html" filter="assert"/>
<testsources refid="clover.test.src.files"/>
<testsources refid="clover.test-framework.src.files"/>
<testsources refid="clover.contrib.test.src.files"/>
<testresults refid="clover.test.result.files"/>
</current>
<current outfile="${clover.report.dir}/clover.xml" title="${final.name}">
<format type="xml" filter="assert"/>
<testsources refid="clover.test.src.files"/>
<testsources refid="clover.test-framework.src.files"/>
<testsources refid="clover.contrib.test.src.files"/>
<testresults refid="clover.test.result.files"/>
</current>
</clover-report>