Changeset 35443 in osm


Ignore:
Timestamp:
2020-05-14T13:38:51+02:00 (5 years ago)
Author:
gerdp
Message:

see #josm19146: introduce skip-test

Location:
applications/editors/josm/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r35413 r35443  
    543543        <available file="${plugin.test.dir}" type="dir" property="test.present"/>
    544544    </target>
    545     <target name="test-init" depends="check-test" if="test.present">
     545    <target name="test-init" depends="check-test" if="test.present" unless="skip-test">
    546546        <mkdir dir="${plugin.test.dir}/build"/>
    547547        <mkdir dir="${plugin.test.dir}/build/unit"/>
     
    582582        <delete dir="../00_core_test_config/unit-josm.home/cache" failonerror="false"/>
    583583    </target>
    584     <target name="test-compile" depends="test-init,dist" if="test.present">
     584    <target name="test-compile" depends="test-init,dist" if="test.present" unless="skip-test">
    585585        <sequential>
    586586            <javac debug="on" includeantruntime="false" srcdir="${plugin.test.dir}/unit" destdir="${plugin.test.dir}/build/unit" encoding="UTF-8"
     
    595595        </sequential>
    596596    </target>
    597     <target name="test" depends="dist, test-clean, test-compile" if="test.present"
     597    <target name="test" depends="dist, test-clean, test-compile" if="test.present" unless="skip-test"
    598598        description="Run unit tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password">
    599599        <ivy:retrieve file="${josm.ivy}" pattern="../00_core_tools/[conf].[ext]" conf="jacocoant"/>
Note: See TracChangeset for help on using the changeset viewer.