Build newversion only when tests are okay

This commit is contained in:
Jindra Petřík
2015-04-23 22:32:35 +02:00
parent 5c0d704a2c
commit a6419a2b75
+10 -2
View File
@@ -525,8 +525,16 @@
</target>
<target name="test_lib">
<ant antfile="${CORELIBSCRIPT}" target="test" inheritAll="false" usenativebasedir="true" />
<target name="-test_lib-newver" if="NEWVER">
<ant antfile="${CORELIBSCRIPT}" target="testhalt" inheritAll="false" usenativebasedir="true" />
</target>
<target name="-test_lib-nonewver" unless="NEWVER">
<ant antfile="${CORELIBSCRIPT}" target="test" inheritAll="false" usenativebasedir="true" />
</target>
<target name="test_lib" depends="-test_lib-newver,-test_lib-nonewver">
</target>
<target name="git-tag">