Parallelize black box tests

git-svn-id: https://zxing.googlecode.com/svn/trunk@552 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-08-06 20:26:05 +00:00
parent 3a4d3e1ed2
commit 6c309a7247

View file

@ -124,6 +124,23 @@
</target>
<target name="test-blackbox" depends="build-test">
<parallel failonany="true">
<antcall target="test-blackbox-subset">
<param name="subdir" value="datamatrix"/>
</antcall>
<antcall target="test-blackbox-subset">
<param name="subdir" value="negative"/>
</antcall>
<antcall target="test-blackbox-subset">
<param name="subdir" value="oned"/>
</antcall>
<antcall target="test-blackbox-subset">
<param name="subdir" value="qrcode"/>
</antcall>
</parallel>
</target>
<target name="test-blackbox-subset">
<junit printsummary="on" haltonfailure="on" haltonerror="on" fork="true" dir=".">
<formatter type="plain" usefile="false"/>
<classpath>
@ -137,9 +154,7 @@
</assertions>
<batchtest>
<fileset dir="test/src">
<include name="**/*BlackBox*TestCase.java"/>
<exclude name="com/google/zxing/common/AbstractBlackBoxTestCase.java"/>
<exclude name="com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java"/>
<include name="**/${subdir}/*BlackBox*TestCase.java"/>
</fileset>
</batchtest>
</junit>