diff --git a/build.xml b/build.xml
index 5382cf8..e962d93 100644
a
|
b
|
Build-Date: ${build.tstamp}
|
312 | 312 | <delete file="${src.dir}/org/w3/_2001/xmlschema/Adapter1.java"/> |
313 | 313 | <delete dir="${src.dir}/org/openstreetmap/josm/data/imagery/types"/> |
314 | 314 | <delete file="${epsg.output}"/> |
| 315 | <delete dir="${test.dir}/build"/> |
315 | 316 | </target> |
316 | 317 | <macrodef name="init-test-preferences"> |
317 | 318 | <attribute name="testfamily"/> |
… |
… |
Build-Date: ${build.tstamp}
|
382 | 383 | <macrodef name="call-junit"> |
383 | 384 | <attribute name="testfamily"/> |
384 | 385 | <attribute name="testITsuffix" default=""/> |
| 386 | <attribute name="coverage" default="true"/> |
385 | 387 | <sequential> |
386 | 388 | <echo message="Running @{testfamily}@{testITsuffix} tests with JUnit"/> |
387 | | <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec"> |
| 389 | <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}"> |
388 | 390 | <junit printsummary="yes" fork="true" forkmode="once"> |
389 | 391 | <jvmarg value="-Dfile.encoding=UTF-8"/> |
390 | 392 | <jvmarg line="-addmods java.xml.bind" if:set="isJava9" /> |
… |
… |
Build-Date: ${build.tstamp}
|
414 | 416 | description="Run unit, functional and performance tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password"> |
415 | 417 | <call-junit testfamily="unit"/> |
416 | 418 | <call-junit testfamily="functional"/> |
417 | | <call-junit testfamily="performance"/> |
| 419 | <call-junit testfamily="performance" coverage="false"/> |
418 | 420 | </target> |
419 | 421 | <target name="test-it" depends="test-compile" unless="test-it.notRequired" |
420 | 422 | description="Run integration tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password"> |
421 | 423 | <call-junit testfamily="unit" testITsuffix="IT"/> |
422 | 424 | <call-junit testfamily="functional" testITsuffix="IT"/> |
423 | | <call-junit testfamily="performance" testITsuffix="IT"/> |
| 425 | <call-junit testfamily="performance" testITsuffix="IT" coverage="false"/> |
424 | 426 | </target> |
425 | 427 | <target name="test-html" depends="test, test-it" description="Generate HTML test reports"> |
426 | 428 | <!-- May require additional ant dependencies like ant-trax package --> |