Browse Source

...and only warn if actually running AntUnit.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297186 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 years ago
parent
commit
08cfa7aa73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build.xml

+ 1
- 1
build.xml View File

@@ -1929,7 +1929,7 @@ see ${build.junit.reports} / ${antunit.reports}
</or>
</condition>
</target>
<target name="-antunit-warn-location" depends="-antunit-check-location" unless="${antunit.recommended.location}">
<target name="-antunit-warn-location" depends="-antunit-check-location" if="run.antunit" unless="${antunit.recommended.location}">
<echo>AntUnit tests must be run with ${bootstrap.dir} (or ${dist.dir}), not ${ant.home}. Try './build.sh antunit-tests' for example.</echo>
</target>
<target name="antunit-tests" depends="dump-info,build,test-init,-antunit-warn-location"


Loading…
Cancel
Save