Skip to content

Commit

Permalink
see #16047 - disable jacoco on Java 11+, see jacoco/jacoco#629
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@13523 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
don-vip committed Mar 13, 2018
1 parent 273af8f commit 9725918
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
<condition property="javac.compiler" value="modern" else="com.google.errorprone.ErrorProneAntCompilerAdapter">
<isset property="isJava10"/>
</condition>
<!-- Disable jacoco on Java 11+, see https://github.com/jacoco/jacoco/issues/629 -->
<condition property="coverageByDefault">
<not>
<isset property="isJava11"/>
</not>
</condition>
<path id="test.classpath">
<fileset dir="${test.dir}/lib">
<include name="**/*.jar"/>
Expand Down Expand Up @@ -473,7 +479,7 @@ Build-Date: ${build.tstamp}
<macrodef name="call-junit">
<attribute name="testfamily"/>
<attribute name="testITsuffix" default=""/>
<attribute name="coverage" default="true"/>
<attribute name="coverage" default="${coverageByDefault}"/>
<sequential>
<echo message="Running @{testfamily}@{testITsuffix} tests with JUnit"/>
<jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}" includes="${jacoco.includes}"
Expand Down

0 comments on commit 9725918

Please sign in to comment.