mirror of https://github.com/apache/lucene.git
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:
parent
a53da14ec6
commit
6f5bf1c821
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue