java-decompiler: build script fixed to not fail too early

This commit is contained in:
Roman Shevchenko 2014-10-17 15:22:59 +02:00
parent 309aca1d29
commit fdc75e3c80
1 changed files with 2 additions and 1 deletions

View File

@ -46,13 +46,14 @@
</target> </target>
<target name="test" depends="init,test-compile"> <target name="test" depends="init,test-compile">
<junit printsummary="true" haltonfailure="true"> <junit printsummary="true" failureproperty="tests.failed">
<classpath path="${test-out}:${out}"/> <classpath path="${test-out}:${out}"/>
<classpath refid="junit"/> <classpath refid="junit"/>
<batchtest> <batchtest>
<fileset dir="${test-src}" includes="**/*Test.java"/> <fileset dir="${test-src}" includes="**/*Test.java"/>
</batchtest> </batchtest>
</junit> </junit>
<fail if="tests.failed" message="Tests failed."/>
</target> </target>
</project> </project>