[Yanel-commits] rev 54360 - public/yanel/trunk/src/build/resource-types

michi at wyona.com michi at wyona.com
Tue Nov 2 14:18:56 CET 2010


Author: michi
Date: 2010-11-02 14:18:56 +0100 (Tue, 02 Nov 2010)
New Revision: 54360

Modified:
   public/yanel/trunk/src/build/resource-types/resource-type.build.xml
Log:
halt on failure

Modified: public/yanel/trunk/src/build/resource-types/resource-type.build.xml
===================================================================
--- public/yanel/trunk/src/build/resource-types/resource-type.build.xml	2010-11-02 13:00:29 UTC (rev 54359)
+++ public/yanel/trunk/src/build/resource-types/resource-type.build.xml	2010-11-02 13:18:56 UTC (rev 54360)
@@ -258,7 +258,10 @@
       <pathelement location="${resource.java.dir}"/>
     </path>
 
+    <junit fork="yes" printsummary="yes" haltonfailure="yes" failureproperty="junit.tests.failed">
+<!-- INFO: haltonfailure should be set to "yes" in order to propagate the failure, because otherwise Hudson might think everything is alright
     <junit fork="yes" printsummary="yes" haltonfailure="no" failureproperty="junit.tests.failed">
+-->
       <batchtest todir="${test.results.dir}" unless="test.class.name">
         <fileset dir="${resource.junit.build.dir}" includes="**/*Test.class" excludes="**/Abstract*.class"/>
       </batchtest>



More information about the Yanel-commits mailing list