Changeset d57eadb1d in vaadin for tests/test.xml


Ignore:
Timestamp:
Jan 10, 2011 7:25:33 PM (4 years ago)
Author:
Artur Signell <artur.signell@…>
Branches:
master, 7.0, 7.1, 729110dbdbccbce7bd1e68b6b383a04b4747883d, 3aca4c731040c45664d2d8086ccc614692097f98
Children:
8ce9c5b3
Parents:
0ac0066a1
Message:

Run longest/prioritized tests first

svn changeset:16843/svn branch:6.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.xml

    r0ac0066a1 rd57eadb1d  
    138138 
    139139        <target name="run-tests" depends="compile-tests" if="server.start.succeeded"> 
    140                 <for threadCount="20" parallel="true" keepgoing="true" param="target"> 
     140                <!-- Long tests are prioritized to even out load at the end of the test run --> 
     141                <!-- If you are interested in certain tests they can temporarily be added here --> 
     142                <fileset dir="${test-output-dir}" id="priority-tests-fileset"> 
     143                        <include name="**/wysiwyg*.java" /> 
     144                        <include name="**/reindeer*.java" /> 
     145                        <include name="**/runo*.java" /> 
     146                        <include name="**/demop*.java" /> 
     147                </fileset> 
     148 
     149                <fileset dir="${test-output-dir}" id="other-tests-fileset"> 
     150                        <include name="**/**.java" /> 
     151                </fileset> 
     152 
     153 
     154                <for threadCount="20" parallel="true" keepgoing="true" param="target" list="${tests-to-run}" delimiter=" "> 
     155                        <!-- A path element APPARENTLY removes duplicates and therefore this works. Could not find this documented anywhere... --> 
    141156                        <path> 
    142                                 <fileset dir="${test-output-dir}" includes="**/**.java" /> 
     157                                <fileset refid="priority-tests-fileset" /> 
     158                                <fileset refid="other-tests-fileset" /> 
    143159                        </path> 
    144160                        <sequential> 
Note: See TracChangeset for help on using the changeset viewer.