Changeset 10431 in josm


Ignore:
Timestamp:
2016-06-19T23:50:16+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13005 - No coverage for performance builds (patch by michael2402, modified) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r10301 r10431  
    383383        <attribute name="testfamily"/>
    384384        <attribute name="testITsuffix" default=""/>
     385        <attribute name="coverage" default="true"/>
    385386        <sequential>
    386387            <echo message="Running @{testfamily}@{testITsuffix} tests with JUnit"/>
    387             <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec">
     388            <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}">
    388389                <junit printsummary="yes" fork="true" forkmode="once">
    389390                    <jvmarg value="-Dfile.encoding=UTF-8"/>
     
    415416        <call-junit testfamily="unit"/>
    416417        <call-junit testfamily="functional"/>
    417         <call-junit testfamily="performance"/>
     418        <call-junit testfamily="performance" coverage="false"/>
    418419    </target>
    419420    <target name="test-it" depends="test-compile" unless="test-it.notRequired"
     
    421422        <call-junit testfamily="unit" testITsuffix="IT"/>
    422423        <call-junit testfamily="functional" testITsuffix="IT"/>
    423         <call-junit testfamily="performance" testITsuffix="IT"/>
     424        <call-junit testfamily="performance" testITsuffix="IT" coverage="false"/>
    424425    </target>
    425426    <target name="test-html" depends="test, test-it" description="Generate HTML test reports">
Note: See TracChangeset for help on using the changeset viewer.