blob: 692d206458192b3dd5b6cfac7257ec0af0a5858a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<project name="CDT Automated Tests" default="run" basedir=".">
<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
<property name="cdt-core-loc" value="${eclipse-home}/cdt_core_folder"/>
<property name="cdt-core-loc" value="${eclipse-home}/cdt_ui_folder"/>
<target name="init">
<tstamp/>
</target>
<target name="cleanup">
</target>
<target name="run" depends="init,suite">
<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
<property name="includes" value="org*.xml"/>
<property name="output-file" value="org.eclipse.cdt.testing.xml"/>
</ant>
</target>
<target name="cdt-core" depends="init">
<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
<property name="data-dir" value="${cdt-core-loc}"/>
<property name="plugin-name" value="org.eclipse.cdt.core.tests"/>
<property name="classname" value="org.eclipse.cdt.core.suite.AutomatedIntegrationSuite"/>
</ant>
</target>
<target name="cdt-ui" depends="init">
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
<property name="data-dir" value="${cdt-core-loc}"/>
<property name="plugin-name" value="org.eclipse.cdt.ui.tests"/>
<property name="classname" value="org.eclipse.cdt.ui.tests.AutomatedSuite"/>
</ant>
</target>
<target name="suite">
<antcall target="cdt-core"/>
<antcall target="cdt-ui"/>
</target>
</project>
|