Author: mbenson
Date: Mon Sep 18 13:20:38 2006
New Revision: 447538

URL: http://svn.apache.org/viewvc?view=rev&rev=447538
Log:
minor junit related mods

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/build.xml?view=diff&rev=447538&r1=447537&r2=447538
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Mon Sep 18 13:20:38 2006
@@ -1542,8 +1542,9 @@
          Run testcase
        ===================================================================
   -->
-  <target name="test" depends="test-halt" description="--> run JUnit tests"/>
-
+  <target name="test" depends="test-report" description="--> run JUnit tests">
+    <fail if="tests.failed">Unit tests failed see ${build.tests.reports}</fail>
+  </target>
 
   <target name="test-init" depends="probe-offline">
     <mkdir dir="${build.tests.xml}"/>
@@ -1586,20 +1587,13 @@
     </junitreport>
   </target>
 
-  <target name="test-halt" depends="test-report" >
-    <fail if="tests.failed">Unit tests failed see ${build.tests.reports}</fail>
-  </target>
-
-
   <target name="run-tests" 
depends="dump-info,compile-tests,probe-offline,test-init"
       if="junit.present" unless="testcase">
 
-
-
     <property name="includetests" value="**/*Test*" />
     <property name="excludetests" value="" />
 
-    <test-junit >
+    <test-junit>
       <formatter type="brief" usefile="false"/>
 
       <batchtest todir="${build.tests.xml}">
@@ -1751,7 +1745,7 @@
   <target name="run-single-test-only" if="testcase"
     description="--> runs the single unit test defined in the testcase 
property"
      depends="test-init">
-    <test-junit >
+    <test-junit>
       <formatter type="plain" usefile="false"/>
       <test name="${testcase}" todir="${build.tests.xml}"/>
     </test-junit>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to