ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1297186 - /ant/core/trunk/build.xml
Date Mon, 05 Mar 2012 19:22:53 GMT
Author: jglick
Date: Mon Mar  5 19:22:53 2012
New Revision: 1297186

URL: http://svn.apache.org/viewvc?rev=1297186&view=rev
Log:
...and only warn if actually running AntUnit.

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=1297186&r1=1297185&r2=1297186&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Mon Mar  5 19:22:53 2012
@@ -1929,7 +1929,7 @@ see ${build.junit.reports} / ${antunit.r
       </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"



Mime
View raw message