Changeset 13097 in josm


Ignore:
Timestamp:
2017-11-07T09:52:38+01:00 (11 days ago)
Author:
Don-vip
Message:

see #15560 - add jacoco.inclbootstrapclasses and jacoco.inclnolocationclasses optional build parameters to record coverage of classes outside of JOSM (to cover JDK EA classes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r13096 r13097  
    3232        <property name="javac.compiler" value="com.google.errorprone.ErrorProneAntCompilerAdapter" />
    3333        <property name="java.lang.version" value="1.8" />
     34        <property name="jacoco.inclbootstrapclasses" value="false" />
     35        <property name="jacoco.inclnolocationclasses" value="false" />
    3436        <!-- build parameter: compression level (ant -Dclevel=N)
    3537                 N ranges from 0 (no compression) to 9 (maximum compression)
     
    455457        <sequential>
    456458            <echo message="Running @{testfamily}@{testITsuffix} tests with JUnit"/>
    457             <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}" includes="org.openstreetmap.josm.*${additionalCoverage}">
     459            <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}" includes="org.openstreetmap.josm.*${additionalCoverage}"
     460                inclbootstrapclasses="${jacoco.inclbootstrapclasses}" inclnolocationclasses="${jacoco.inclnolocationclasses}">
    458461                <junit printsummary="yes" fork="true" forkmode="once">
    459462                    <jvmarg value="-Dfile.encoding=UTF-8"/>
Note: See TracChangeset for help on using the changeset viewer.