Revision: 6242
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6242&view=rev
Author:   dnaber
Date:     2012-01-14 11:57:19 +0000 (Sat, 14 Jan 2012)
Log Message:
-----------
make failfast the default, i.e. the stop immediately when a test fails - i 
think this makes sense as our builds are quite stable

Modified Paths:
--------------
    trunk/JLanguageTool/build.xml

Modified: trunk/JLanguageTool/build.xml
===================================================================
--- trunk/JLanguageTool/build.xml       2012-01-14 11:42:56 UTC (rev 6241)
+++ trunk/JLanguageTool/build.xml       2012-01-14 11:57:19 UTC (rev 6242)
@@ -127,11 +127,20 @@
        <!-- TEST -->
        <!-- ================================================================== 
-->
 
-       <target name="test-failfast" description="Runs unit tests, stopping on 
failure">
-               <property name="haltonfailure" value="yes"/>
+    <target name="test" description="Runs unit tests, stopping on failure">
+        <property name="haltonfailure" value="yes"/>
+        <antcall target="test-internal"/>
+    </target>
+
+       <target name="test-failfast" description="Runs unit tests, stopping on 
failure (same as 'test')">
                <antcall target="test"/>
        </target>
 
+    <target name="test-failslow" description="Runs unit tests, not immediately 
stopping on failure">
+        <property name="haltonfailure" value="no"/>
+        <antcall target="test-internal"/>
+    </target>
+    
     <target name="test-rules" description="Runs unit tests for the pattern 
rules only">
         <antcall target="internal-xml-validate" />
         <antcall target="internal-pattern-rules" />
@@ -147,7 +156,7 @@
         <antcall target="test"/>
     </target>
     
-       <target name="test" depends="clean,init,build,ooo-build" 
description="Runs unit tests">
+       <target name="test-internal" depends="clean,init,build,ooo-build" 
description="Runs unit tests">
 
                <mkdir dir="${junit.classes.dir}" />
                <mkdir dir="${dist.dir}/report/tests" />

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to