|
|
@ -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> |
|
|
|