mirror of https://github.com/mchr3k/org.intrace
Improve build to allow test report even when a test fails
This commit is contained in:
parent
2afffaac32
commit
71ad7782b5
|
|
@ -174,7 +174,7 @@
|
||||||
<zipfileset excludes="META-INF/*.MF" src="./lib/asm-debug-all-3.3.jar"/>
|
<zipfileset excludes="META-INF/*.MF" src="./lib/asm-debug-all-3.3.jar"/>
|
||||||
</jar>
|
</jar>
|
||||||
|
|
||||||
<junit printsummary="yes" haltonfailure="yes">
|
<junit printsummary="yes" failureproperty="test.failure">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="./build/test"/>
|
<pathelement location="./build/test"/>
|
||||||
<fileset dir="./lib" includes="*.jar" excludes="intrace*.jar" />
|
<fileset dir="./lib" includes="*.jar" excludes="intrace*.jar" />
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
</batchtest>
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
|
|
||||||
<junit printsummary="yes" haltonfailure="yes">
|
<junit printsummary="yes" failureproperty="test.failure">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="./build/test"/>
|
<pathelement location="./build/test"/>
|
||||||
<pathelement location="./build/classes_instr"/>
|
<pathelement location="./build/classes_instr"/>
|
||||||
|
|
@ -276,6 +276,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="validate" description="Build jars and run all automated tests" depends="jar, test, findbugs" >
|
<target name="validate" description="Build jars and run all automated tests" depends="jar, test, findbugs" >
|
||||||
|
<fail message="Tests failed" if="test.failure" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="release1" description="Validate InTrace and copy files ready for Eclipse build" depends="validate,update_eclipse_jars">
|
<target name="release1" description="Validate InTrace and copy files ready for Eclipse build" depends="validate,update_eclipse_jars">
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue