Browse Source

Let 'testcase'-property choose the right target for running tests.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276106 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 21 years ago
parent
commit
ef9e8aca03
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      build.xml

+ 4
- 4
build.xml View File

@@ -1355,7 +1355,7 @@

<selector refid="conditional-patterns"/>
</javac>
<!-- Used by AntlibTest.testAntlibResource: -->
<jar jarfile="${build.tests}/org/apache/tools/ant/taskdefs/test2-antlib.jar">
<zipfileset dir="${tests.etc.dir}" fullpath="taskdefs/test.antlib.xml">
@@ -1409,9 +1409,9 @@
Run testcase
===================================================================
-->
<target name="test" depends="run-tests" description="--> run JUnit tests"/>
<target name="test" depends="run-tests,run-single-test" description="--> run JUnit tests"/>

<target name="run-tests" depends="dump-info,compile-tests,probe-offline" if="junit.present">
<target name="run-tests" depends="dump-info,compile-tests,probe-offline" if="junit.present" unless="testcase">

<condition property="run.junitreport">
<or>
@@ -1604,4 +1604,4 @@
description="--> creates a minimum distribution in ./dist"
depends="dist-lite"/>

</project>
</project>

Loading…
Cancel
Save