| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!-- ====================================================================== | 2 <!-- ====================================================================== |
| 3 Sep 6, 2011 4:04:51 PM
| 3 Sep 6, 2011 4:04:51 PM
|
| 4 | 4 |
| 5 Dart Tools Tests Build | 5 Dart Tools Tests Build |
| 6 Build the Dart Tools tests and then run them over the Dart code | 6 Build the Dart Tools tests and then run them over the Dart code |
| 7 | 7 |
| 8 Mark R Russell (mrrussell@google.com)
| 8 Mark R Russell (mrrussell@google.com)
|
| 9 ====================================================================== --> | 9 ====================================================================== --> |
| 10 <project name="Dart Tools Tests Build" default="test"> | 10 <project name="Dart Tools Tests Build" default="test"> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 checkeveryunit="millisecond"> | 73 checkeveryunit="millisecond"> |
| 74 <available file="${build.tmp}/pde_test_port.properties" /> | 74 <available file="${build.tmp}/pde_test_port.properties" /> |
| 75 </waitfor> | 75 </waitfor> |
| 76 <property file="${build.tmp}/pde_test_port.properties" prefix="build." /
> | 76 <property file="${build.tmp}/pde_test_port.properties" prefix="build." /
> |
| 77 <echo message="Using port ${build.pde.test.port} for listening to PDE Te
st run" /> | 77 <echo message="Using port ${build.pde.test.port} for listening to PDE Te
st run" /> |
| 78 </target> | 78 </target> |
| 79 | 79 |
| 80 <!-- | 80 <!-- |
| 81 run the tests in DartTools | 81 run the tests in DartTools |
| 82 --> | 82 --> |
| 83 <target name="doTests" depends="deploy, setupTests, getPort"> | 83 <target name="doTests" depends="deploy, setupTests, getPort"> |
| 84 | |
| 85 <!-- Exclude the UI plugins when running headless tests --> | |
| 86 <property name="build.target.dropins.unused" location="${build.target.dr
opins}-unused"/> | |
| 87 <mkdir dir="${build.target.dropins.unused}"/> | |
| 88 <move todir="${build.target.dropins.unused}"> | |
| 89 <fileset dir="${build.target.dropins}"> | |
| 90 <include name="dart/plugins/com.google.dart.tools.ui*.jar"/> | |
| 91 </fileset> | |
| 92 </move> | |
| 93 | |
| 94 <property name="build.eclipse.test_application" | 84 <property name="build.eclipse.test_application" |
| 95 value="org.eclipse.pde.junit.runtime.coretestapplication" /> | 85 value="org.eclipse.pde.junit.runtime.coretestapplication" /> |
| 96 <property name="build.test.platform.vm.args" value="" /> | 86 <property name="build.test.platform.vm.args" value="" /> |
| 97 <property name="build.test.platform.command.args" value="" /> | 87 <property name="build.test.platform.command.args" value="" /> |
| 98 <property name="build.site.name" value="DashTests" /> | 88 <property name="build.site.name" value="DashTests" /> |
| 99 <property name="build.test.eclipse.workspace" value="${build.stage.abs}/
workspace-test" /> | 89 <property name="build.test.eclipse.workspace" value="${build.stage.abs}/
workspace-test" /> |
| 100 <property name="build.test.reports.dir" value="${build.out}/reports" /> | 90 <property name="build.test.reports.dir" value="${build.out}/reports" /> |
| 101 <echoproperties prefix="build." /> | 91 <echoproperties prefix="build." /> |
| 102 <fileset dir="${build.target.abs}/eclipse/plugins" | 92 <fileset dir="${build.target.abs}/eclipse/plugins" |
| 103 includes="org.eclipse.equinox.launcher_*.jar" | 93 includes="org.eclipse.equinox.launcher_*.jar" |
| 104 id="fs.eclipse.target.laincher" /> | 94 id="fs.eclipse.target.launcher" /> |
| 105 <pathconvert property="eclipse.target.launcher.jar" refid="fs.eclipse.ta
rget.laincher" /> | 95 <pathconvert property="eclipse.target.launcher.jar" refid="fs.eclipse.ta
rget.launcher" /> |
| 106 <echo message="starting Eclipse with ${eclipse.target.launcher.jar}" /> | 96 <echo message="starting Eclipse with ${eclipse.target.launcher.jar}" /> |
| 107 <echo message="running application ${build.eclipse.test_application}"/> | 97 <echo message="running application ${build.eclipse.test_application}"/> |
| 108 <parallel> | 98 <parallel> |
| 109 <sequential> | 99 <sequential> |
| 110 <echo message="running test listener" /> | 100 <echo message="running test listener" /> |
| 111 <java classname="pde.test.utils.PDETestResultsCollector" | 101 <java classname="pde.test.utils.PDETestResultsCollector" |
| 112 fork="yes" | 102 fork="yes" |
| 113 classpathref="build.pde.test.listener.class.path"> | 103 classpathref="build.pde.test.listener.class.path"> |
| 114 <arg line="${build.test.suite} ${build.pde.test.port}" /> | 104 <arg line="${build.test.suite} ${build.pde.test.port}" /> |
| 115 </java> | 105 </java> |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 400 |
| 411 <mkdir dir="${build.runtime}" /> | 401 <mkdir dir="${build.runtime}" /> |
| 412 <mkdir dir="${build.target}" /> | 402 <mkdir dir="${build.target}" /> |
| 413 <mkdir dir="${build.stage.plugins}" /> | 403 <mkdir dir="${build.stage.plugins}" /> |
| 414 <mkdir dir="${build.stage.features}" /> | 404 <mkdir dir="${build.stage.features}" /> |
| 415 <mkdir dir="${build.out}" /> | 405 <mkdir dir="${build.out}" /> |
| 416 | 406 |
| 417 </target> | 407 </target> |
| 418 | 408 |
| 419 </project> | 409 </project> |
| OLD | NEW |