瀏覽代碼

Run longest/prioritized tests first

svn changeset:16843/svn branch:6.5
tags/6.7.0.beta1
Artur Signell 13 年之前
父節點
當前提交
d57eadb1dd
共有 1 個檔案被更改,包括 18 行新增2 行删除
  1. 18
    2
      tests/test.xml

+ 18
- 2
tests/test.xml 查看文件

</target> </target>


<target name="run-tests" depends="compile-tests" if="server.start.succeeded"> <target name="run-tests" depends="compile-tests" if="server.start.succeeded">
<for threadCount="20" parallel="true" keepgoing="true" param="target">
<!-- Long tests are prioritized to even out load at the end of the test run -->
<!-- If you are interested in certain tests they can temporarily be added here -->
<fileset dir="${test-output-dir}" id="priority-tests-fileset">
<include name="**/wysiwyg*.java" />
<include name="**/reindeer*.java" />
<include name="**/runo*.java" />
<include name="**/demop*.java" />
</fileset>

<fileset dir="${test-output-dir}" id="other-tests-fileset">
<include name="**/**.java" />
</fileset>


<for threadCount="20" parallel="true" keepgoing="true" param="target" list="${tests-to-run}" delimiter=" ">
<!-- A path element APPARENTLY removes duplicates and therefore this works. Could not find this documented anywhere... -->
<path> <path>
<fileset dir="${test-output-dir}" includes="**/**.java" />
<fileset refid="priority-tests-fileset" />
<fileset refid="other-tests-fileset" />
</path> </path>
<sequential> <sequential>
<antcall target="execute-tests"> <antcall target="execute-tests">

Loading…
取消
儲存