|
1 <project name="CDT Automated Tests" default="run" basedir="."> |
|
2 |
|
3 <property name="cdt-core-loc" value="${eclipse-home}/cdt_core_folder"/> |
|
4 <property name="cdt-ui-loc" value="${eclipse-home}/cdt_ui_folder"/> |
|
5 <property name="cdt-debug-ui-loc" value="${eclipse-home}/cdt_debug_ui_folder"/> |
|
6 <property name="cdt-mbs-core-loc" value="${eclipse-home}/cdt_mbs_core_folder"/> |
|
7 <property name="cdt-mbs-ui-loc" value="${eclipse-home}/cdt_mbs_ui_folder"/> |
|
8 |
|
9 <target name="init"> |
|
10 <echo message="library file: ${library-file}"/> |
|
11 </target> |
|
12 |
|
13 <target name="cleanup"> |
|
14 </target> |
|
15 |
|
16 <target name="run" depends="init,suite"> |
|
17 <ant target="collect" antfile="${library-file}" dir="${eclipse-home}"> |
|
18 <property name="includes" value="org*.xml"/> |
|
19 <property name="output-file" value="org.eclipse.cdt.testing.xml"/> |
|
20 </ant> |
|
21 </target> |
|
22 |
|
23 <target name="cdt-core" depends="init"> |
|
24 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> |
|
25 <property name="data-dir" value="${cdt-core-loc}"/> |
|
26 <property name="plugin-name" value="org.eclipse.cdt.core.tests"/> |
|
27 <property name="classname" value="org.eclipse.cdt.core.suite.AutomatedIntegrationSuite"/> |
|
28 </ant> |
|
29 </target> |
|
30 |
|
31 <target name="cdt-ui" depends="init"> |
|
32 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> |
|
33 <property name="data-dir" value="${cdt-ui-loc}"/> |
|
34 <property name="plugin-name" value="org.eclipse.cdt.ui.tests"/> |
|
35 <property name="classname" value="org.eclipse.cdt.ui.tests.AutomatedSuite"/> |
|
36 </ant> |
|
37 </target> |
|
38 |
|
39 <target name="cdt-debug-ui" depends="init"> |
|
40 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> |
|
41 <property name="data-dir" value="${cdt-debug-ui-loc}"/> |
|
42 <property name="plugin-name" value="org.eclipse.cdt.debug.ui.tests"/> |
|
43 <property name="classname" value="org.eclipse.cdt.debug.core.tests.AllDebugTests"/> |
|
44 </ant> |
|
45 </target> |
|
46 |
|
47 <target name="cdt-mbs-core" depends="init"> |
|
48 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> |
|
49 <property name="data-dir" value="${cdt-mbs-core-loc}"/> |
|
50 <property name="plugin-name" value="org.eclipse.cdt.managedbuilder.core.tests"/> |
|
51 <property name="classname" value="org.eclipse.cdt.managedbuilder.tests.suite.AllManagedBuildTests"/> |
|
52 </ant> |
|
53 </target> |
|
54 |
|
55 <target name="cdt-mbs-ui" depends="init"> |
|
56 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> |
|
57 <property name="data-dir" value="${cdt-mbs-ui-loc}"/> |
|
58 <property name="plugin-name" value="org.eclipse.cdt.managedbuilder.ui.tests"/> |
|
59 <property name="classname" value="org.eclipse.cdt.managedbuilder.ui.tests.suite.AllManagedBuildUITests"/> |
|
60 </ant> |
|
61 </target> |
|
62 |
|
63 <target name="suite"> |
|
64 <antcall target="cdt-core"/> |
|
65 <antcall target="cdt-ui"/> |
|
66 <antcall target="cdt-debug-ui"/> |
|
67 <antcall target="cdt-mbs-core"/> |
|
68 <antcall target="cdt-mbs-ui"/> |
|
69 </target> |
|
70 |
|
71 </project> |