mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Parallelize black box tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@552 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
3a4d3e1ed2
commit
6c309a7247
|
@ -124,6 +124,23 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test-blackbox" depends="build-test">
|
<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=".">
|
<junit printsummary="on" haltonfailure="on" haltonerror="on" fork="true" dir=".">
|
||||||
<formatter type="plain" usefile="false"/>
|
<formatter type="plain" usefile="false"/>
|
||||||
<classpath>
|
<classpath>
|
||||||
|
@ -137,9 +154,7 @@
|
||||||
</assertions>
|
</assertions>
|
||||||
<batchtest>
|
<batchtest>
|
||||||
<fileset dir="test/src">
|
<fileset dir="test/src">
|
||||||
<include name="**/*BlackBox*TestCase.java"/>
|
<include name="**/${subdir}/*BlackBox*TestCase.java"/>
|
||||||
<exclude name="com/google/zxing/common/AbstractBlackBoxTestCase.java"/>
|
|
||||||
<exclude name="com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java"/>
|
|
||||||
</fileset>
|
</fileset>
|
||||||
</batchtest>
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
|
|
Loading…
Reference in a new issue