mirror of https://github.com/apache/poi.git
Fix how coverage-reporting is triggered, was effectively disabled always currently because of how Ant if/unless works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b5244e619
commit
74450d33b7
|
@ -656,6 +656,7 @@ under the License.
|
|||
</target>
|
||||
|
||||
<target name="jacocotask" depends="">
|
||||
<echo message="Coverage reporting: ${coverage.enabled}"/>
|
||||
<taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
|
||||
<classpath refid="lib.jacoco"/>
|
||||
</taskdef>
|
||||
|
@ -665,7 +666,7 @@ under the License.
|
|||
description="Tests main, scratchpad and ooxml"/>
|
||||
<target name="test-all" depends="test,test-ooxml-lite,testcoveragereport"/>
|
||||
|
||||
<target name="testcoveragereport" depends="jacocotask" description="create test-report" xmlns:jacoco="antlib:org.jacoco.ant" if="${coverage.enabled}">
|
||||
<target name="testcoveragereport" depends="jacocotask" description="create test-report" xmlns:jacoco="antlib:org.jacoco.ant" if="coverage.enabled">
|
||||
<delete dir="${coverage.dir}"/>
|
||||
<mkdir dir="${coverage.dir}"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue