java-decompiler: build script fixed to not fail too early
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Fri, 17 Oct 2014 13:22:59 +0000 (15:22 +0200)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Fri, 17 Oct 2014 13:22:59 +0000 (15:22 +0200)
plugins/java-decompiler/engine/build.xml

index 8dde32e6addafb156b880319b4f55e47e153013b..6ed39f0a45cc1a56b991adac507d1b7058a442b3 100644 (file)
   </target>
 
   <target name="test" depends="init,test-compile">
-    <junit printsummary="true" haltonfailure="true">
+    <junit printsummary="true" failureproperty="tests.failed">
       <classpath path="${test-out}:${out}"/>
       <classpath refid="junit"/>
       <batchtest>
         <fileset dir="${test-src}" includes="**/*Test.java"/>
       </batchtest>
     </junit>
+    <fail if="tests.failed" message="Tests failed."/>
   </target>
 
 </project>