|
Lines 1-404
Link Here
|
| 1 |
<project name="Automated Eclipse Testing" default="all" basedir="." > |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
|
2 |
<project |
| 3 |
name="Automated Eclipse Testing" |
| 4 |
default="all" |
| 5 |
basedir="."> |
| 2 |
|
6 |
|
| 3 |
<!--properties file containing the plugin directory name including version number, |
7 |
<!--properties file containing the plugin directory name including version number, |
| 4 |
and list of required test plug-ins expressed as command-line argument to unzip executable. |
8 |
and list of required test plug-ins expressed as command-line argument to unzip executable. |
| 5 |
Generated and packaged at build time.--> |
9 |
Generated and packaged at build time.--> |
| 6 |
<property file="test.properties" /> |
10 |
<property file="test.properties" /> |
| 7 |
|
11 |
|
| 8 |
<!--properties file containing the build information--> |
12 |
<!--properties file containing the build information--> |
| 9 |
<property file="label.properties" /> |
13 |
<property file="label.properties" /> |
| 10 |
|
14 |
|
| 11 |
<!--default directory where test-eclipse will be installed--> |
15 |
<!--default directory where test-eclipse will be installed--> |
| 12 |
<property name="install" value="${basedir}/test-eclipse" /> |
16 |
<property |
|
|
17 |
name="install" |
| 18 |
value="${basedir}/test-eclipse" /> |
| 13 |
|
19 |
|
| 14 |
<!--suffix added to test output files to identify platform on which tests ran.--> |
20 |
<!--suffix added to test output files to identify platform on which tests ran.--> |
| 15 |
<property name="platform" value="${os}.${ws}.${arch}" /> |
21 |
<property |
|
|
22 |
name="platform" |
| 23 |
value="${os}.${ws}.${arch}" /> |
| 16 |
|
24 |
|
| 17 |
<!-- The root of the eclipse installation --> |
25 |
<!-- The root of the eclipse installation --> |
| 18 |
<property name="eclipse-home" value="${install}/eclipse" /> |
26 |
<property |
|
|
27 |
name="eclipse-home" |
| 28 |
value="${install}/eclipse" /> |
| 19 |
|
29 |
|
| 20 |
<property name="repoZip" value="${basedir}/eclipse-junit-tests-${buildId}.zip" /> |
30 |
<property |
| 21 |
<property name="repoLocation" value="${basedir}/testRepo" /> |
31 |
name="repoZip" |
| 22 |
<property name="platformLocation" value="${basedir}/platformLocation" /> |
32 |
value="${basedir}/eclipse-junit-tests-${buildId}.zip" /> |
|
|
33 |
<property |
| 34 |
name="repoLocation" |
| 35 |
value="${basedir}/testRepo" /> |
| 36 |
<property |
| 37 |
name="platformLocation" |
| 38 |
value="${basedir}/platformLocation" /> |
| 23 |
|
39 |
|
| 24 |
<!-- The directory that will contain all files containing information on the tests that ran.--> |
40 |
<!-- The directory that will contain all files containing information on the tests that ran.--> |
| 25 |
<property name="results" value="${basedir}/results" /> |
41 |
<property |
|
|
42 |
name="results" |
| 43 |
value="${basedir}/results" /> |
| 26 |
|
44 |
|
| 27 |
<!--Directory for JUnit report output, console log output and .log content for each test suite. |
45 |
<!--Directory for JUnit report output, console log output and .log content for each test suite. |
| 28 |
Overrides default in org.eclipse.test/library.xml--> |
46 |
Overrides default in org.eclipse.test/library.xml--> |
| 29 |
<property name="junit-report-output" value="${results}/${platform}" /> |
47 |
<property |
| 30 |
<property name="coverage-output" value="${results}/coverage" /> |
48 |
name="junit-report-output" |
|
|
49 |
value="${results}/${platform}" /> |
| 50 |
|
| 51 |
<!-- this dirctory, with some sort files are created during unit tests |
| 52 |
... need to find where to disable jacoco --> |
| 53 |
<property |
| 54 |
name="coverage-output" |
| 55 |
value="${results}/coverageIGNORE" /> |
| 31 |
|
56 |
|
|
|
57 |
<echo message="DEBUG: org.eclipse.core.net.prefs: ${org.eclipse.core.net.prefs}" /> |
| 58 |
|
| 32 |
<!--Directory name of org.eclipse.test plug-in installed in ${eclipse-home}--> |
59 |
<!--Directory name of org.eclipse.test plug-in installed in ${eclipse-home}--> |
| 33 |
<target name="setup" unless="noclean" depends="init"> |
60 |
<target |
| 34 |
<condition property="setupTarget" value="setup-zip"> |
61 |
name="setup" |
| 35 |
<contains string="${runtimeArchive}" substring=".zip" /> |
62 |
unless="noclean" |
| 36 |
</condition> |
63 |
depends="init"> |
| 37 |
<condition property="setupTarget" value="setup-tar.gz"> |
64 |
<condition |
| 38 |
<contains string="${runtimeArchive}" substring=".tar.gz" /> |
65 |
property="setupTarget" |
| 39 |
</condition> |
66 |
value="setup-zip"> |
| 40 |
<condition property="repoexists" value="true"> |
67 |
<contains |
| 41 |
<available file="${repoLocation}" /> |
68 |
string="${runtimeArchive}" |
| 42 |
</condition> |
69 |
substring=".zip" /> |
| 43 |
<condition property="extraIU" value="org.eclipse.equinox.p2.discovery.feature.feature.group"> |
70 |
</condition> |
| 44 |
<equals arg1="${testPlugin}" arg2="org.eclipse.equinox.p2.tests.discovery" /> |
71 |
<condition |
| 45 |
</condition> |
72 |
property="setupTarget" |
| 46 |
<antcall target="setupRepo" /> |
73 |
value="setup-tar.gz"> |
| 47 |
<antcall target="${setupTarget}" /> |
74 |
<contains |
| 48 |
<antcall target="configureDeltaPack" /> |
75 |
string="${runtimeArchive}" |
| 49 |
</target> |
76 |
substring=".tar.gz" /> |
|
|
77 |
</condition> |
| 78 |
<condition |
| 79 |
property="repoexists" |
| 80 |
value="true"> |
| 81 |
<available file="${repoLocation}" /> |
| 82 |
</condition> |
| 83 |
<condition |
| 84 |
property="extraIU" |
| 85 |
value="org.eclipse.equinox.p2.discovery.feature.feature.group"> |
| 86 |
<equals |
| 87 |
arg1="${testPlugin}" |
| 88 |
arg2="org.eclipse.equinox.p2.tests.discovery" /> |
| 89 |
</condition> |
| 90 |
<antcall target="setupRepo" /> |
| 91 |
<antcall target="${setupTarget}" /> |
| 92 |
<antcall target="configureDeltaPack" /> |
| 93 |
<antcall target="installPreferences" /> |
| 94 |
</target> |
| 95 |
|
| 96 |
<target name="installPreferences"> |
| 97 |
<property |
| 98 |
name="preferenceDirectory" |
| 99 |
value="${install}/eclipse/configuration/.settings/" /> |
| 100 |
<mkdir dir="${preferenceDirectory}" /> |
| 101 |
|
| 102 |
<antcall target="installNetworkPreferences" /> |
| 103 |
|
| 104 |
</target> |
| 105 |
|
| 106 |
|
| 107 |
<target |
| 108 |
name="installNetworkPreferences" |
| 109 |
if="org.eclipse.core.net.prefs"> |
| 110 |
|
| 111 |
<copy |
| 112 |
file="${org.eclipse.core.net.prefs}" |
| 113 |
todir="${preferenceDirectory}" |
| 114 |
failonerror="false" |
| 115 |
verbose="true" /> |
| 116 |
<echo message="copied ${org.eclipse.core.net.prefs} to ${preferenceDirectory}" /> |
| 117 |
</target> |
| 50 |
|
118 |
|
| 51 |
<!--Extract test bundles repo --> |
119 |
<!--Extract test bundles repo --> |
| 52 |
<target name="setupRepo" unless="repoexists"> |
120 |
<target |
| 53 |
<mkdir dir="${repoLocation}" /> |
121 |
name="setupRepo" |
| 54 |
<exec dir="." executable="unzip"> |
122 |
unless="repoexists"> |
| 55 |
<arg line="-o ${repoZip} -d ${repoLocation}" /> |
123 |
<mkdir dir="${repoLocation}" /> |
| 56 |
</exec> |
124 |
<exec |
| 57 |
</target> |
125 |
dir="." |
|
|
126 |
executable="unzip"> |
| 127 |
<arg line="-o ${repoZip} -d ${repoLocation}" /> |
| 128 |
</exec> |
| 129 |
</target> |
| 58 |
|
130 |
|
| 59 |
<!--setup for zip archives--> |
131 |
<!--setup for zip archives--> |
| 60 |
<target name="setup-zip" description="Reinstall the test Eclipse installation if specified by user"> |
132 |
<target |
| 61 |
<delete dir="${install}" /> |
133 |
name="setup-zip" |
| 62 |
<mkdir dir="${install}" /> |
134 |
description="Reinstall the test Eclipse installation if specified by user"> |
| 63 |
<exec dir="." executable="unzip"> |
135 |
<delete dir="${install}" /> |
| 64 |
<arg line="-o -qq ${runtimeArchive} -d ${install}" /> |
136 |
<mkdir dir="${install}" /> |
| 65 |
</exec> |
137 |
<exec |
| 66 |
<antcall target="installExtraPlugins" /> |
138 |
dir="." |
| 67 |
<antcall target="installTestPlugins" /> |
139 |
executable="unzip"> |
| 68 |
</target> |
140 |
<arg line="-o -qq ${runtimeArchive} -d ${install}" /> |
|
|
141 |
</exec> |
| 142 |
<antcall target="installExtraPlugins" /> |
| 143 |
<antcall target="installTestPlugins" /> |
| 144 |
</target> |
| 69 |
|
145 |
|
| 70 |
<!--setup for tar.gz archives--> |
146 |
<!--setup for tar.gz archives--> |
| 71 |
<target name="setup-tar.gz" description="Reinstall the test Eclipse installation if specified by user"> |
147 |
<target |
| 72 |
<property name="currentDir" value="${basedir}" /> |
148 |
name="setup-tar.gz" |
| 73 |
<delete dir="${install}" /> |
149 |
description="Reinstall the test Eclipse installation if specified by user"> |
| 74 |
<mkdir dir="${install}" /> |
150 |
<property |
| 75 |
<exec dir="${install}" executable="tar"> |
151 |
name="currentDir" |
| 76 |
<arg line="-xzf ${currentDir}/${runtimeArchive}" /> |
152 |
value="${basedir}" /> |
| 77 |
</exec> |
153 |
<delete dir="${install}" /> |
| 78 |
<antcall target="installExtraPlugins" /> |
154 |
<mkdir dir="${install}" /> |
| 79 |
<antcall target="installTestPlugins" /> |
155 |
<exec |
| 80 |
</target> |
156 |
dir="${install}" |
|
|
157 |
executable="tar"> |
| 158 |
<arg line="-xzf ${currentDir}/${runtimeArchive}" /> |
| 159 |
</exec> |
| 160 |
<antcall target="installExtraPlugins" /> |
| 161 |
<antcall target="installTestPlugins" /> |
| 162 |
</target> |
| 81 |
|
163 |
|
| 82 |
<!--use an stable version of the director so that instability in the current build doesn't cause all the tests to fail --> |
164 |
<!--use an stable version of the director so that instability in the current build doesn't cause all the tests to fail --> |
| 83 |
<target name="setupPlatform"> |
165 |
<target name="setupPlatform"> |
| 84 |
<echo message="os.arch ${os.arch}" /> |
166 |
<echo message="os.arch ${os.arch}" /> |
| 85 |
<property file="equinoxp2tests.properties" /> |
167 |
<property file="equinoxp2tests.properties" /> |
| 86 |
<condition property="platformArchive" value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux}"> |
168 |
<condition |
| 87 |
<and> |
169 |
property="platformArchive" |
| 88 |
<os family="unix" /> |
170 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux}"> |
| 89 |
<not> |
171 |
<and> |
| 90 |
<or> |
172 |
<os family="unix" /> |
| 91 |
<or> |
173 |
<not> |
| 92 |
<os arch="x86_64" /> |
174 |
<or> |
| 93 |
<os arch="amd64" /> |
175 |
<or> |
| 94 |
</or> |
176 |
<os arch="x86_64" /> |
| 95 |
<os family="mac" /> |
177 |
<os arch="amd64" /> |
| 96 |
</or> |
178 |
</or> |
| 97 |
</not> |
179 |
<os family="mac" /> |
| 98 |
</and> |
180 |
</or> |
| 99 |
</condition> |
181 |
</not> |
| 100 |
<condition property="platformArchive" value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64}"> |
182 |
</and> |
| 101 |
<and> |
183 |
</condition> |
| 102 |
<os family="mac" /> |
184 |
<condition |
| 103 |
<os family="unix" /> |
185 |
property="platformArchive" |
| 104 |
<or> |
186 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64}"> |
| 105 |
<os arch="x86_64" /> |
187 |
<and> |
| 106 |
<os arch="amd64" /> |
188 |
<os family="mac" /> |
| 107 |
</or> |
189 |
<os family="unix" /> |
| 108 |
</and> |
190 |
<or> |
| 109 |
</condition> |
191 |
<os arch="x86_64" /> |
| 110 |
<condition property="platformArchive" value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32}"> |
192 |
<os arch="amd64" /> |
| 111 |
<and> |
193 |
</or> |
| 112 |
<os family="windows" /> |
194 |
</and> |
| 113 |
<os arch="x86" /> |
195 |
</condition> |
| 114 |
</and> |
196 |
<condition |
| 115 |
</condition> |
197 |
property="platformArchive" |
| 116 |
<condition property="platformArchive" value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64}"> |
198 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx}"> |
| 117 |
<and> |
199 |
<and> |
| 118 |
<os family="windows" /> |
200 |
<os family="mac" /> |
| 119 |
<or> |
201 |
<os family="unix" /> |
| 120 |
<os arch="x86_64" /> |
202 |
<!-- should not need, as long as x86_64 rules (above) comes first |
| 121 |
<os arch="amd64" /> |
203 |
<os arch="i386" /> |
| 122 |
</or> |
204 |
--> |
| 123 |
</and> |
205 |
</and> |
| 124 |
</condition> |
206 |
</condition> |
| 125 |
<condition property="platformArchive" value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64}"> |
207 |
<condition |
| 126 |
<and> |
208 |
property="platformArchive" |
| 127 |
<os family="unix" /> |
209 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32}"> |
| 128 |
<or> |
210 |
<and> |
| 129 |
<os arch="x86_64" /> |
211 |
<os family="windows" /> |
| 130 |
<os arch="amd64" /> |
212 |
<os arch="x86" /> |
| 131 |
</or> |
213 |
</and> |
| 132 |
</and> |
214 |
</condition> |
| 133 |
</condition> |
215 |
<condition |
| 134 |
<condition property="platformTarget" value="platform-zip"> |
216 |
property="platformArchive" |
| 135 |
<contains string="${platformArchive}" substring=".zip" /> |
217 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64}"> |
| 136 |
</condition> |
218 |
<and> |
| 137 |
<condition property="platformTarget" value="platform-tar.gz"> |
219 |
<os family="windows" /> |
| 138 |
<contains string="${platformArchive}" substring=".tar.gz" /> |
220 |
<or> |
| 139 |
</condition> |
221 |
<os arch="x86_64" /> |
| 140 |
<echo message="platformTarget ${platformTarget} platformArchive ${platformArchive}" /> |
222 |
<os arch="amd64" /> |
| 141 |
<antcall target="${platformTarget}" /> |
223 |
</or> |
| 142 |
</target> |
224 |
</and> |
|
|
225 |
</condition> |
| 226 |
<condition |
| 227 |
property="platformArchive" |
| 228 |
value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64}"> |
| 229 |
<and> |
| 230 |
<os family="unix" /> |
| 231 |
<or> |
| 232 |
<os arch="x86_64" /> |
| 233 |
<os arch="amd64" /> |
| 234 |
</or> |
| 235 |
</and> |
| 236 |
</condition> |
| 237 |
|
| 238 |
<fail |
| 239 |
unless="platformArchive" |
| 240 |
message="platformArchive is not defined. Check that condidtions cover os arch ${os.arch}. May be VM dependent.)" /> |
| 241 |
|
| 242 |
<condition |
| 243 |
property="platformTarget" |
| 244 |
value="platform-zip"> |
| 245 |
<contains |
| 246 |
string="${platformArchive}" |
| 247 |
substring=".zip" /> |
| 248 |
</condition> |
| 249 |
<condition |
| 250 |
property="platformTarget" |
| 251 |
value="platform-tar.gz"> |
| 252 |
<contains |
| 253 |
string="${platformArchive}" |
| 254 |
substring=".tar.gz" /> |
| 255 |
</condition> |
| 256 |
<fail |
| 257 |
unless="platformTarget" |
| 258 |
message="platformTarget is not defined. Check that platformArchive variable and value is defined correctly, such as in equinoxp2tests.properties in the appropriate testConfig" /> |
| 259 |
<echo message="platformTarget ${platformTarget} platformArchive ${platformArchive}" /> |
| 260 |
<antcall target="${platformTarget}" /> |
| 261 |
</target> |
| 143 |
|
262 |
|
| 144 |
|
263 |
|
| 145 |
<!--setup for platform zip archives--> |
264 |
<!--setup for platform zip archives--> |
| 146 |
<target name="platform-zip" description="Reinstall the test Eclipse installation if specified by user"> |
265 |
<target |
| 147 |
<delete dir="${platformLocation}" /> |
266 |
name="platform-zip" |
| 148 |
<mkdir dir="${platformLocation}" /> |
267 |
description="Reinstall the test Eclipse installation if specified by user"> |
| 149 |
<exec dir="${platformLocation}" executable="unzip"> |
268 |
<delete dir="${platformLocation}" /> |
| 150 |
<arg line="-o -qq ${platformArchive} -d ${platformLocation}" /> |
269 |
<mkdir dir="${platformLocation}" /> |
| 151 |
</exec> |
270 |
<exec |
| 152 |
</target> |
271 |
dir="${platformLocation}" |
|
|
272 |
executable="unzip"> |
| 273 |
<arg line="-o -qq ${platformArchive} -d ${platformLocation}" /> |
| 274 |
</exec> |
| 275 |
</target> |
| 153 |
|
276 |
|
| 154 |
<!--setup for platform tar.gz archives--> |
277 |
<!--setup for platform tar.gz archives--> |
| 155 |
<target name="platform-tar.gz" description="Reinstall the test Eclipse installation if specified by user"> |
278 |
<target |
| 156 |
<delete dir="${platformLocation}" /> |
279 |
name="platform-tar.gz" |
| 157 |
<mkdir dir="${platformLocation}" /> |
280 |
description="Reinstall the test Eclipse installation if specified by user"> |
| 158 |
<exec dir="${platformLocation}" executable="tar"> |
281 |
<delete dir="${platformLocation}" /> |
| 159 |
<arg line="-xzf ${platformArchive}" /> |
282 |
<mkdir dir="${platformLocation}" /> |
| 160 |
</exec> |
283 |
<exec |
| 161 |
</target> |
284 |
dir="${platformLocation}" |
|
|
285 |
executable="tar"> |
| 286 |
<arg line="-xzf ${platformArchive}" /> |
| 287 |
</exec> |
| 288 |
</target> |
| 162 |
|
289 |
|
| 163 |
<target name="installExtraPlugins" if="extraIU"> |
290 |
<target |
| 164 |
<property file="equinoxp2tests.properties" /> |
291 |
name="installExtraPlugins" |
| 165 |
<path id="launcher.paths"> |
292 |
if="extraIU"> |
| 166 |
<fileset dir="${eclipse-home}" includes="plugins/org.eclipse.equinox.launcher_*" /> |
293 |
<property file="equinoxp2tests.properties" /> |
| 167 |
</path> |
294 |
<path id="launcher.paths"> |
| 168 |
<property name="launcherPath" refid="launcher.paths" /> |
295 |
<fileset |
|
|
296 |
dir="${eclipse-home}" |
| 297 |
includes="plugins/org.eclipse.equinox.launcher_*" /> |
| 298 |
</path> |
| 299 |
<property |
| 300 |
name="launcherPath" |
| 301 |
refid="launcher.paths" /> |
| 169 |
|
302 |
|
| 170 |
<property name="currentBuildRepo" value="${org.eclipse.equinox.p2.tests.current.build.repo}" /> |
303 |
<property |
| 171 |
<echo>-installIU ${extraIU} +</echo> |
304 |
name="currentBuildRepo" |
| 172 |
<java jar="${launcherPath}" failonerror="false" dir="${eclipse-home}" timeout="900000" fork="true" output="${basedir}/director.log" resultproperty="directorcode"> |
305 |
value="${org.eclipse.equinox.p2.tests.current.build.repo}" /> |
| 173 |
<arg line="-vm ${java.home}/bin/java" /> |
306 |
<echo>-installIU ${extraIU} +</echo> |
| 174 |
<arg line="-application org.eclipse.equinox.p2.director" /> |
307 |
<java |
| 175 |
<arg line="-consoleLog" /> |
308 |
jar="${launcherPath}" |
| 176 |
<arg line="-flavor tooling" /> |
309 |
failonerror="false" |
| 177 |
<arg line="-installIUs ${extraIU}" /> |
310 |
dir="${eclipse-home}" |
| 178 |
<arg line="-p2.os ${os}" /> |
311 |
timeout="900000" |
| 179 |
<arg line="-p2.ws ${ws}" /> |
312 |
fork="true" |
| 180 |
<arg line="-p2.arch ${arch}" /> |
313 |
output="${basedir}/director.log" |
| 181 |
<arg line="-roaming" /> |
314 |
resultproperty="directorcode"> |
| 182 |
<arg line="-profile SDKProfile" /> |
315 |
<arg line="-vm ${java.home}/bin/java" /> |
| 183 |
<arg line="-repository ${currentBuildRepo}" /> |
316 |
<arg line="-application org.eclipse.equinox.p2.director" /> |
| 184 |
<arg line="-destination ${eclipse-home}" /> |
317 |
<arg line="-consoleLog" /> |
| 185 |
<arg line="-bundlepool ${eclipse-home}" /> |
318 |
<arg line="-flavor tooling" /> |
| 186 |
</java> |
319 |
<arg line="-installIUs ${extraIU}" /> |
| 187 |
</target> |
320 |
<arg line="-p2.os ${os}" /> |
|
|
321 |
<arg line="-p2.ws ${ws}" /> |
| 322 |
<arg line="-p2.arch ${arch}" /> |
| 323 |
<arg line="-roaming" /> |
| 324 |
<arg line="-profile SDKProfile" /> |
| 325 |
<arg line="-repository ${currentBuildRepo}" /> |
| 326 |
<arg line="-destination ${eclipse-home}" /> |
| 327 |
<arg line="-bundlepool ${eclipse-home}" /> |
| 328 |
</java> |
| 329 |
</target> |
| 188 |
|
330 |
|
| 189 |
<target name="installTestPlugins"> |
331 |
<target name="installTestPlugins"> |
| 190 |
<path id="launcher.paths"> |
332 |
<path id="launcher.paths"> |
| 191 |
<fileset dir="${eclipse-home}" includes="plugins/org.eclipse.equinox.launcher_*" /> |
333 |
<fileset |
| 192 |
</path> |
334 |
dir="${eclipse-home}" |
| 193 |
<property name="launcherPath" refid="launcher.paths" /> |
335 |
includes="plugins/org.eclipse.equinox.launcher_*" /> |
| 194 |
<antcall target="setupPlatform" /> |
336 |
</path> |
| 195 |
<echo>-installIU ${testPlugin} +</echo> |
337 |
<property |
| 196 |
<java jar="${launcherPath}" failonerror="false" dir="${eclipse-home}" timeout="900000" fork="true" output="${basedir}/director.log" resultproperty="directorcode"> |
338 |
name="launcherPath" |
| 197 |
<arg line="-vm ${java.home}/bin/java" /> |
339 |
refid="launcher.paths" /> |
| 198 |
<arg line="-application org.eclipse.equinox.p2.director" /> |
340 |
<antcall target="setupPlatform" /> |
| 199 |
<arg line="-consoleLog" /> |
341 |
<echo>-installIU ${testPlugin} +</echo> |
| 200 |
<arg line="-flavor tooling" /> |
342 |
<java |
| 201 |
<arg line="-installIUs ${testPlugin},org.eclipse.test,org.eclipse.ant.optional.junit,org.eclipse.test.performance,org.eclipse.test.performance.win32,org.easymock" /> |
343 |
jar="${launcherPath}" |
| 202 |
<arg line="-p2.os ${os}" /> |
344 |
failonerror="false" |
| 203 |
<arg line="-p2.ws ${ws}" /> |
345 |
dir="${eclipse-home}" |
| 204 |
<arg line="-p2.arch ${arch}" /> |
346 |
timeout="900000" |
| 205 |
<arg line="-roaming" /> |
347 |
fork="true" |
| 206 |
<arg line="-profile SDKProfile" /> |
348 |
output="${basedir}/director.log" |
| 207 |
<arg line="-repository file:${repoLocation}" /> |
349 |
resultproperty="directorcode"> |
| 208 |
<arg line="-destination ${eclipse-home}" /> |
350 |
<arg line="-vm ${java.home}/bin/java" /> |
| 209 |
<arg line="-bundlepool ${eclipse-home}" /> |
351 |
<arg line="-application org.eclipse.equinox.p2.director" /> |
| 210 |
</java> |
352 |
<arg line="-consoleLog" /> |
| 211 |
<antcall target="configureTeamTest" /> |
353 |
<arg line="-flavor tooling" /> |
| 212 |
<antcall target="unzipderby" /> |
354 |
<arg |
| 213 |
</target> |
355 |
line="-installIUs ${testPlugin},org.eclipse.test,org.eclipse.ant.optional.junit,org.eclipse.test.performance,org.eclipse.test.performance.win32,org.easymock" /> |
|
|
356 |
<arg line="-p2.os ${os}" /> |
| 357 |
<arg line="-p2.ws ${ws}" /> |
| 358 |
<arg line="-p2.arch ${arch}" /> |
| 359 |
<arg line="-roaming" /> |
| 360 |
<arg line="-profile SDKProfile" /> |
| 361 |
<arg line="-repository file:${repoLocation}" /> |
| 362 |
<arg line="-destination ${eclipse-home}" /> |
| 363 |
<arg line="-bundlepool ${eclipse-home}" /> |
| 364 |
</java> |
| 365 |
<antcall target="configureTeamTest" /> |
| 366 |
<antcall target="unzipderby" /> |
| 367 |
</target> |
| 214 |
|
368 |
|
| 215 |
|
369 |
|
| 216 |
<target name="unzipderby" if="derby"> |
370 |
<target |
| 217 |
<exec dir="." executable="unzip"> |
371 |
name="unzipderby" |
| 218 |
<arg line="-o eclipse-junit-tests-*.zip ${derby} -d ${install}" /> |
372 |
if="derby" |
| 219 |
</exec> |
373 |
unless="skipDerby"> |
| 220 |
<copy todir="${install}/eclipse/dropins/eclipse/plugins"> |
374 |
<exec |
| 221 |
<fileset dir="${repoLocation}/eclipse/dropins/eclipse/plugins" includes="org.apache.derby**/*" /> |
375 |
dir="." |
| 222 |
</copy> |
376 |
executable="unzip"> |
| 223 |
</target> |
377 |
<arg line="-o eclipse-junit-tests-*.zip ${derby} -d ${install}" /> |
|
|
378 |
</exec> |
| 379 |
<copy todir="${install}/eclipse/dropins/eclipse/plugins"> |
| 380 |
<fileset |
| 381 |
dir="${repoLocation}/eclipse/dropins/eclipse/plugins" |
| 382 |
includes="org.apache.derby**/*" /> |
| 383 |
</copy> |
| 384 |
</target> |
| 224 |
|
385 |
|
| 225 |
<target name="init" depends="setRuntimeArchive"> |
386 |
<target |
| 226 |
<mkdir dir="${results}/xml" /> |
387 |
name="init" |
| 227 |
<mkdir dir="${results}/html" /> |
388 |
depends="setRuntimeArchive"> |
| 228 |
<mkdir dir="${junit-report-output}" /> |
389 |
<mkdir dir="${results}/xml" /> |
|
|
390 |
<mkdir dir="${results}/html" /> |
| 391 |
<mkdir dir="${junit-report-output}" /> |
| 229 |
<!--Unlock files on the Mac before starting tests. |
392 |
<!--Unlock files on the Mac before starting tests. |
| 230 |
Required to delete some workspace directories (org.eclipse.core.filebuffers.tests and Team CVS tests).--> |
393 |
Required to delete some workspace directories (org.eclipse.core.filebuffers.tests and Team CVS tests).--> |
| 231 |
<exec dir="${basedir}" executable="chflags" os="Mac OS X"> |
394 |
<exec |
| 232 |
<arg line="-R nouchg ${install}" /> |
395 |
dir="${basedir}" |
| 233 |
</exec> |
396 |
executable="chflags" |
| 234 |
</target> |
397 |
os="Mac OS X"> |
|
|
398 |
<arg line="-R nouchg ${install}" /> |
| 399 |
</exec> |
| 400 |
</target> |
| 235 |
|
401 |
|
| 236 |
<target name="setRuntimeArchive"> |
402 |
<target name="setRuntimeArchive"> |
| 237 |
<echo message="setRuntimeArchive os ${os} ws ${ws} arch ${arch}" /> |
403 |
<echo message="setRuntimeArchive os ${os} ws ${ws} arch ${arch}" /> |
| 238 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-win32.zip"> |
404 |
<condition |
| 239 |
<and> |
405 |
property="runtimeArchive" |
| 240 |
<equals arg1="${os}" arg2="win32" /> |
406 |
value="eclipse-SDK-${buildId}-win32.zip"> |
| 241 |
<equals arg1="${ws}" arg2="win32" /> |
407 |
<and> |
| 242 |
<equals arg1="${arch}" arg2="x86" /> |
408 |
<equals |
| 243 |
</and> |
409 |
arg1="${os}" |
| 244 |
</condition> |
410 |
arg2="win32" /> |
| 245 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-win32-x86_64.zip"> |
411 |
<equals |
| 246 |
<and> |
412 |
arg1="${ws}" |
| 247 |
<equals arg1="${os}" arg2="win32" /> |
413 |
arg2="win32" /> |
| 248 |
<equals arg1="${ws}" arg2="win32" /> |
414 |
<equals |
| 249 |
<equals arg1="${arch}" arg2="x86_64" /> |
415 |
arg1="${arch}" |
| 250 |
</and> |
416 |
arg2="x86" /> |
| 251 |
</condition> |
417 |
</and> |
| 252 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-linux-gtk.tar.gz"> |
418 |
</condition> |
| 253 |
<and> |
419 |
<condition |
| 254 |
<equals arg1="${os}" arg2="linux" /> |
420 |
property="runtimeArchive" |
| 255 |
<equals arg1="${ws}" arg2="gtk" /> |
421 |
value="eclipse-SDK-${buildId}-win32-x86_64.zip"> |
| 256 |
<equals arg1="${arch}" arg2="x86" /> |
422 |
<and> |
| 257 |
</and> |
423 |
<equals |
| 258 |
</condition> |
424 |
arg1="${os}" |
| 259 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-linux-gtk-ppc64.tar.gz"> |
425 |
arg2="win32" /> |
| 260 |
<and> |
426 |
<equals |
| 261 |
<equals arg1="${os}" arg2="linux" /> |
427 |
arg1="${ws}" |
| 262 |
<equals arg1="${ws}" arg2="gtk" /> |
428 |
arg2="win32" /> |
| 263 |
<equals arg1="${arch}" arg2="ppc64" /> |
429 |
<equals |
| 264 |
</and> |
430 |
arg1="${arch}" |
| 265 |
</condition> |
431 |
arg2="x86_64" /> |
| 266 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-linux-gtk-x86_64.tar.gz"> |
432 |
</and> |
| 267 |
<and> |
433 |
</condition> |
| 268 |
<equals arg1="${os}" arg2="linux" /> |
434 |
<condition |
| 269 |
<equals arg1="${ws}" arg2="gtk" /> |
435 |
property="runtimeArchive" |
| 270 |
<equals arg1="${arch}" arg2="x86_64" /> |
436 |
value="eclipse-SDK-${buildId}-linux-gtk.tar.gz"> |
| 271 |
</and> |
437 |
<and> |
| 272 |
</condition> |
438 |
<equals |
| 273 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-macosx-cocoa-ppc.tar.gz"> |
439 |
arg1="${os}" |
| 274 |
<and> |
440 |
arg2="linux" /> |
| 275 |
<equals arg1="${os}" arg2="macosx" /> |
441 |
<equals |
| 276 |
<equals arg1="${ws}" arg2="cocoa" /> |
442 |
arg1="${ws}" |
| 277 |
<equals arg1="${arch}" arg2="ppc" /> |
443 |
arg2="gtk" /> |
| 278 |
</and> |
444 |
<equals |
| 279 |
</condition> |
445 |
arg1="${arch}" |
| 280 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-macosx-cocoa.tar.gz"> |
446 |
arg2="x86" /> |
| 281 |
<and> |
447 |
</and> |
| 282 |
<equals arg1="${os}" arg2="macosx" /> |
448 |
</condition> |
| 283 |
<equals arg1="${ws}" arg2="cocoa" /> |
449 |
<condition |
| 284 |
<equals arg1="${arch}" arg2="x86" /> |
450 |
property="runtimeArchive" |
| 285 |
</and> |
451 |
value="eclipse-SDK-${buildId}-linux-gtk-ppc64.tar.gz"> |
| 286 |
</condition> |
452 |
<and> |
| 287 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-macosx-cocoa-x86_64.tar.gz"> |
453 |
<equals |
| 288 |
<and> |
454 |
arg1="${os}" |
| 289 |
<equals arg1="${os}" arg2="macosx" /> |
455 |
arg2="linux" /> |
| 290 |
<equals arg1="${ws}" arg2="cocoa" /> |
456 |
<equals |
| 291 |
<equals arg1="${arch}" arg2="x86_64" /> |
457 |
arg1="${ws}" |
| 292 |
</and> |
458 |
arg2="gtk" /> |
| 293 |
</condition> |
459 |
<equals |
| 294 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-hpux-gtk.zip"> |
460 |
arg1="${arch}" |
| 295 |
<and> |
461 |
arg2="ppc64" /> |
| 296 |
<equals arg1="${os}" arg2="hpux" /> |
462 |
</and> |
| 297 |
<equals arg1="${ws}" arg2="gtk" /> |
463 |
</condition> |
| 298 |
<equals arg1="${arch}" arg2="ia64_32" /> |
464 |
<condition |
| 299 |
</and> |
465 |
property="runtimeArchive" |
| 300 |
</condition> |
466 |
value="eclipse-SDK-${buildId}-linux-gtk-x86_64.tar.gz"> |
| 301 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-solaris-gtk.zip"> |
467 |
<and> |
| 302 |
<and> |
468 |
<equals |
| 303 |
<equals arg1="${os}" arg2="solaris" /> |
469 |
arg1="${os}" |
| 304 |
<equals arg1="${ws}" arg2="gtk" /> |
470 |
arg2="linux" /> |
| 305 |
<equals arg1="${arch}" arg2="sparc" /> |
471 |
<equals |
| 306 |
</and> |
472 |
arg1="${ws}" |
| 307 |
</condition> |
473 |
arg2="gtk" /> |
| 308 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-solaris-gtk-x86.zip"> |
474 |
<equals |
| 309 |
<and> |
475 |
arg1="${arch}" |
| 310 |
<equals arg1="${os}" arg2="solaris" /> |
476 |
arg2="x86_64" /> |
| 311 |
<equals arg1="${ws}" arg2="gtk" /> |
477 |
</and> |
| 312 |
<equals arg1="${arch}" arg2="x86" /> |
478 |
</condition> |
| 313 |
</and> |
479 |
<condition |
| 314 |
</condition> |
480 |
property="runtimeArchive" |
| 315 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-aix-gtk-ppc.zip"> |
481 |
value="eclipse-SDK-${buildId}-macosx-cocoa-ppc.tar.gz"> |
| 316 |
<and> |
482 |
<and> |
| 317 |
<equals arg1="${os}" arg2="aix" /> |
483 |
<equals |
| 318 |
<equals arg1="${ws}" arg2="gtk" /> |
484 |
arg1="${os}" |
| 319 |
<equals arg1="${arch}" arg2="ppc" /> |
485 |
arg2="macosx" /> |
| 320 |
</and> |
486 |
<equals |
| 321 |
</condition> |
487 |
arg1="${ws}" |
| 322 |
<condition property="runtimeArchive" value="eclipse-SDK-${buildId}-aix-gtk-ppc64.zip"> |
488 |
arg2="cocoa" /> |
| 323 |
<and> |
489 |
<equals |
| 324 |
<equals arg1="${os}" arg2="aix" /> |
490 |
arg1="${arch}" |
| 325 |
<equals arg1="${ws}" arg2="gtk" /> |
491 |
arg2="ppc" /> |
| 326 |
<equals arg1="${arch}" arg2="ppc64" /> |
492 |
</and> |
| 327 |
</and> |
493 |
</condition> |
| 328 |
</condition> |
494 |
<condition |
| 329 |
<echo message="runtimeArchive ${runtimeArchive} !!! " /> |
495 |
property="runtimeArchive" |
| 330 |
</target> |
496 |
value="eclipse-SDK-${buildId}-macosx-cocoa.tar.gz"> |
|
|
497 |
<and> |
| 498 |
<equals |
| 499 |
arg1="${os}" |
| 500 |
arg2="macosx" /> |
| 501 |
<equals |
| 502 |
arg1="${ws}" |
| 503 |
arg2="cocoa" /> |
| 504 |
<equals |
| 505 |
arg1="${arch}" |
| 506 |
arg2="x86" /> |
| 507 |
</and> |
| 508 |
</condition> |
| 509 |
<condition |
| 510 |
property="runtimeArchive" |
| 511 |
value="eclipse-SDK-${buildId}-macosx-cocoa-x86_64.tar.gz"> |
| 512 |
<and> |
| 513 |
<equals |
| 514 |
arg1="${os}" |
| 515 |
arg2="macosx" /> |
| 516 |
<equals |
| 517 |
arg1="${ws}" |
| 518 |
arg2="cocoa" /> |
| 519 |
<equals |
| 520 |
arg1="${arch}" |
| 521 |
arg2="x86_64" /> |
| 522 |
</and> |
| 523 |
</condition> |
| 524 |
<condition |
| 525 |
property="runtimeArchive" |
| 526 |
value="eclipse-SDK-${buildId}-hpux-gtk.zip"> |
| 527 |
<and> |
| 528 |
<equals |
| 529 |
arg1="${os}" |
| 530 |
arg2="hpux" /> |
| 531 |
<equals |
| 532 |
arg1="${ws}" |
| 533 |
arg2="gtk" /> |
| 534 |
<equals |
| 535 |
arg1="${arch}" |
| 536 |
arg2="ia64_32" /> |
| 537 |
</and> |
| 538 |
</condition> |
| 539 |
<condition |
| 540 |
property="runtimeArchive" |
| 541 |
value="eclipse-SDK-${buildId}-solaris-gtk.zip"> |
| 542 |
<and> |
| 543 |
<equals |
| 544 |
arg1="${os}" |
| 545 |
arg2="solaris" /> |
| 546 |
<equals |
| 547 |
arg1="${ws}" |
| 548 |
arg2="gtk" /> |
| 549 |
<equals |
| 550 |
arg1="${arch}" |
| 551 |
arg2="sparc" /> |
| 552 |
</and> |
| 553 |
</condition> |
| 554 |
<condition |
| 555 |
property="runtimeArchive" |
| 556 |
value="eclipse-SDK-${buildId}-solaris-gtk-x86.zip"> |
| 557 |
<and> |
| 558 |
<equals |
| 559 |
arg1="${os}" |
| 560 |
arg2="solaris" /> |
| 561 |
<equals |
| 562 |
arg1="${ws}" |
| 563 |
arg2="gtk" /> |
| 564 |
<equals |
| 565 |
arg1="${arch}" |
| 566 |
arg2="x86" /> |
| 567 |
</and> |
| 568 |
</condition> |
| 569 |
<condition |
| 570 |
property="runtimeArchive" |
| 571 |
value="eclipse-SDK-${buildId}-aix-gtk-ppc.zip"> |
| 572 |
<and> |
| 573 |
<equals |
| 574 |
arg1="${os}" |
| 575 |
arg2="aix" /> |
| 576 |
<equals |
| 577 |
arg1="${ws}" |
| 578 |
arg2="gtk" /> |
| 579 |
<equals |
| 580 |
arg1="${arch}" |
| 581 |
arg2="ppc" /> |
| 582 |
</and> |
| 583 |
</condition> |
| 584 |
<condition |
| 585 |
property="runtimeArchive" |
| 586 |
value="eclipse-SDK-${buildId}-aix-gtk-ppc64.zip"> |
| 587 |
<and> |
| 588 |
<equals |
| 589 |
arg1="${os}" |
| 590 |
arg2="aix" /> |
| 591 |
<equals |
| 592 |
arg1="${ws}" |
| 593 |
arg2="gtk" /> |
| 594 |
<equals |
| 595 |
arg1="${arch}" |
| 596 |
arg2="ppc64" /> |
| 597 |
</and> |
| 598 |
</condition> |
| 599 |
<echo message="runtimeArchive ${runtimeArchive} !!! " /> |
| 600 |
</target> |
| 331 |
|
601 |
|
| 332 |
<target name="setJVMProperties" depends="setJVMfromUserSpecified"> |
602 |
<target |
|
|
603 |
name="setJVMProperties" |
| 604 |
depends="setJVMfromUserSpecified"> |
| 333 |
<!--enable tests requiring 1.5 or 1.6 vms to run if running vm level detected matches required execution environment--> |
605 |
<!--enable tests requiring 1.5 or 1.6 vms to run if running vm level detected matches required execution environment--> |
| 334 |
<condition property="J2SE-5.0" value="${java.home}/bin/java"> |
606 |
<condition |
| 335 |
<or> |
607 |
property="J2SE-5.0" |
| 336 |
<or> |
608 |
value="${java.home}/bin/java"> |
| 337 |
<equals arg1="${ant.java.version}" arg2="1.5" /> |
609 |
<or> |
| 338 |
<equals arg1="${ant.java.version}" arg2="1.6" /> |
610 |
<or> |
| 339 |
</or> |
611 |
<equals |
| 340 |
<equals arg1="${ant.java.version}" arg2="1.7" /> |
612 |
arg1="${ant.java.version}" |
| 341 |
</or> |
613 |
arg2="1.5" /> |
| 342 |
</condition> |
614 |
<equals |
| 343 |
<condition property="J2SE-6.0" value="${java.home}/bin/java"> |
615 |
arg1="${ant.java.version}" |
| 344 |
<or> |
616 |
arg2="1.6" /> |
| 345 |
<equals arg1="${ant.java.version}" arg2="1.6" /> |
617 |
</or> |
| 346 |
<equals arg1="${ant.java.version}" arg2="1.7" /> |
618 |
<equals |
| 347 |
</or> |
619 |
arg1="${ant.java.version}" |
| 348 |
</condition> |
620 |
arg2="1.7" /> |
| 349 |
<condition property="J2SE-7.0" value="${java.home}/bin/java"> |
621 |
</or> |
| 350 |
<equals arg1="${ant.java.version}" arg2="1.7" /> |
622 |
</condition> |
| 351 |
</condition> |
623 |
<condition |
| 352 |
</target> |
624 |
property="J2SE-6.0" |
| 353 |
<target name="setJVMfromUserSpecified" if="jvm"> |
625 |
value="${java.home}/bin/java"> |
| 354 |
<exec executable="${jvm}" outputproperty="javaversion"> |
626 |
<or> |
| 355 |
<arg line="-version" /> |
627 |
<equals |
| 356 |
</exec> |
628 |
arg1="${ant.java.version}" |
| 357 |
<echo message="java version of ${jvm} is ${javaversion}" /> |
629 |
arg2="1.6" /> |
| 358 |
<condition property="J2SE-7.0" value="${jvm}"> |
630 |
<equals |
| 359 |
<contains string="${javaversion}" substring="java version "1.7" /> |
631 |
arg1="${ant.java.version}" |
| 360 |
</condition> |
632 |
arg2="1.7" /> |
| 361 |
<condition property="J2SE-6.0" value="${jvm}"> |
633 |
</or> |
| 362 |
<or> |
634 |
</condition> |
| 363 |
<contains string="${javaversion}" substring="java version "1.6" /> |
635 |
<condition |
| 364 |
<contains string="${javaversion}" substring="java version "1.7" /> |
636 |
property="J2SE-7.0" |
| 365 |
</or> |
637 |
value="${java.home}/bin/java"> |
| 366 |
</condition> |
638 |
<equals |
| 367 |
<condition property="J2SE-5.0" value="${jvm}"> |
639 |
arg1="${ant.java.version}" |
| 368 |
<or> |
640 |
arg2="1.7" /> |
| 369 |
<or> |
641 |
</condition> |
| 370 |
<contains string="${javaversion}" substring="java version "1.7" /> |
642 |
</target> |
| 371 |
<contains string="${javaversion}" substring="java version "1.6" /> |
643 |
<target |
| 372 |
</or> |
644 |
name="setJVMfromUserSpecified" |
| 373 |
<contains string="${javaversion}" substring="java version "1.5" /> |
645 |
if="jvm"> |
| 374 |
</or> |
646 |
<exec |
| 375 |
</condition> |
647 |
executable="${jvm}" |
| 376 |
<echo message="J2SE-7.0: ${J2SE-7.0}" /> |
648 |
outputproperty="javaversion"> |
| 377 |
<echo message="J2SE-6.0: ${J2SE-6.0}" /> |
649 |
<arg line="-version" /> |
| 378 |
<echo message="J2SE-5.0: ${J2SE-5.0}" /> |
650 |
</exec> |
| 379 |
</target> |
651 |
<echo message="java version of ${jvm} is ${javaversion}" /> |
| 380 |
<target name="configureTeamTest" if="teamcvs"> |
652 |
<condition |
|
|
653 |
property="J2SE-7.0" |
| 654 |
value="${jvm}"> |
| 655 |
<contains |
| 656 |
string="${javaversion}" |
| 657 |
substring="java version "1.7" /> |
| 658 |
</condition> |
| 659 |
<condition |
| 660 |
property="J2SE-6.0" |
| 661 |
value="${jvm}"> |
| 662 |
<or> |
| 663 |
<contains |
| 664 |
string="${javaversion}" |
| 665 |
substring="java version "1.6" /> |
| 666 |
<contains |
| 667 |
string="${javaversion}" |
| 668 |
substring="java version "1.7" /> |
| 669 |
</or> |
| 670 |
</condition> |
| 671 |
<condition |
| 672 |
property="J2SE-5.0" |
| 673 |
value="${jvm}"> |
| 674 |
<or> |
| 675 |
<or> |
| 676 |
<contains |
| 677 |
string="${javaversion}" |
| 678 |
substring="java version "1.7" /> |
| 679 |
<contains |
| 680 |
string="${javaversion}" |
| 681 |
substring="java version "1.6" /> |
| 682 |
</or> |
| 683 |
<contains |
| 684 |
string="${javaversion}" |
| 685 |
substring="java version "1.5" /> |
| 686 |
</or> |
| 687 |
</condition> |
| 688 |
<echo message="J2SE-7.0: ${J2SE-7.0}" /> |
| 689 |
<echo message="J2SE-6.0: ${J2SE-6.0}" /> |
| 690 |
<echo message="J2SE-5.0: ${J2SE-5.0}" /> |
| 691 |
</target> |
| 692 |
<target |
| 693 |
name="configureTeamTest" |
| 694 |
if="teamcvs"> |
| 381 |
<!-- Fill in cvs repository information --> |
695 |
<!-- Fill in cvs repository information --> |
| 382 |
<replace file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" token="@user@" value="${cvs_user}" /> |
696 |
<replace |
| 383 |
<replace file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" token="@password@" value="${cvs_password}" /> |
697 |
file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" |
| 384 |
<replace file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" token="@host@" value="${cvs_host}" /> |
698 |
token="@user@" |
| 385 |
<replace file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" token="@root@" value="${cvs_root}" /> |
699 |
value="${cvs_user}" /> |
| 386 |
</target> |
700 |
<replace |
| 387 |
|
701 |
file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" |
| 388 |
<target name="configureDeltaPack" if="pdebuild"> |
702 |
token="@password@" |
| 389 |
<property name="deltapackArchive" value="eclipse-${buildId}-delta-pack.zip" /> |
703 |
value="${cvs_password}" /> |
| 390 |
<property name="installDeltapack" value="${install}/deltapack" /> |
704 |
<replace |
| 391 |
<mkdir dir="${installDeltapack}" /> |
705 |
file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" |
| 392 |
<exec dir="." executable="unzip"> |
706 |
token="@host@" |
| 393 |
<arg line="-o -qq ${deltapackArchive} -d ${installDeltapack}" /> |
707 |
value="${cvs_host}" /> |
| 394 |
</exec> |
708 |
<replace |
| 395 |
</target> |
709 |
file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties" |
|
|
710 |
token="@root@" |
| 711 |
value="${cvs_root}" /> |
| 712 |
</target> |
| 396 |
|
713 |
|
|
|
714 |
<target |
| 715 |
name="configureDeltaPack" |
| 716 |
if="pdebuild"> |
| 717 |
<property |
| 718 |
name="deltapackArchive" |
| 719 |
value="eclipse-${buildId}-delta-pack.zip" /> |
| 720 |
<property |
| 721 |
name="installDeltapack" |
| 722 |
value="${install}/deltapack" /> |
| 723 |
<mkdir dir="${installDeltapack}" /> |
| 724 |
<exec |
| 725 |
dir="." |
| 726 |
executable="unzip"> |
| 727 |
<arg line="-o -qq ${deltapackArchive} -d ${installDeltapack}" /> |
| 728 |
</exec> |
| 729 |
</target> |
| 397 |
|
730 |
|
| 398 |
<macrodef name="runTests"> |
|
|
| 399 |
<attribute name="testPlugin" /> |
| 400 |
<sequential> |
| 401 |
|
731 |
|
|
|
732 |
<macrodef name="runTests"> |
| 733 |
<attribute name="testPlugin" /> |
| 734 |
<sequential> |
| 735 |
<antcall target="markCurrentTime"> |
| 736 |
<param |
| 737 |
name="message" |
| 738 |
value="start @{testPlugin}" /> |
| 739 |
</antcall> |
| 402 |
<!--alwasy use eclipse executable to launch tests with the exception of performance tests--> |
740 |
<!--alwasy use eclipse executable to launch tests with the exception of performance tests--> |
| 403 |
<!--condition property="useEclipseExe" value="true"> |
741 |
<!--condition property="useEclipseExe" value="true"> |
| 404 |
<not> |
742 |
<not> |
|
Lines 406-842
Link Here
|
| 406 |
</not> |
744 |
</not> |
| 407 |
</condition--> |
745 |
</condition--> |
| 408 |
|
746 |
|
| 409 |
<condition property="performance.target.present" value="true"> |
747 |
<condition |
| 410 |
<isset property="@{testPlugin}.has.performance.target" /> |
748 |
property="performance.target.present" |
| 411 |
</condition> |
749 |
value="true"> |
|
|
750 |
<isset property="@{testPlugin}.has.performance.target" /> |
| 751 |
</condition> |
| 412 |
|
752 |
|
| 413 |
<!--override the value of this property with performance if the tests run on performance machine--> |
753 |
<!--override the value of this property with performance if the tests run on performance machine--> |
| 414 |
<property name="test.target" value="junit" /> |
754 |
<property |
| 415 |
<property name="report" value="@{testPlugin}" /> |
755 |
name="test.target" |
|
|
756 |
value="junit" /> |
| 757 |
<property |
| 758 |
name="report" |
| 759 |
value="@{testPlugin}" /> |
| 416 |
|
760 |
|
| 417 |
<!--install db plug-ins if running performance tests--> |
761 |
<!--install db plug-ins if running performance tests--> |
| 418 |
<condition property="derby" value="eclipse/dropins/eclipse/plugins/org.apache.derby*/**"> |
762 |
<condition |
| 419 |
<equals arg1="${test.target}" arg2="performance" /> |
763 |
property="derby" |
| 420 |
</condition> |
764 |
value="eclipse/dropins/eclipse/plugins/org.apache.derby*/**"> |
|
|
765 |
<equals |
| 766 |
arg1="${test.target}" |
| 767 |
arg2="performance" /> |
| 768 |
</condition> |
| 421 |
<!-- <property name="derby" value="" /> --> |
769 |
<!-- <property name="derby" value="" /> --> |
| 422 |
<!-- <param name="testPlugin" value="${@{testPlugin}}" /> --> |
770 |
<!-- <param name="testPlugin" value="${@{testPlugin}}" /> --> |
| 423 |
<antcall target="${test.target}"> |
771 |
<antcall target="${test.target}"> |
| 424 |
<param name="testPlugin" value="@{testPlugin}" /> |
772 |
<param |
| 425 |
<param name="output-file" value="@{testPlugin}.xml" /> |
773 |
name="testPlugin" |
| 426 |
</antcall> |
774 |
value="@{testPlugin}" /> |
| 427 |
</sequential> |
775 |
<param |
| 428 |
</macrodef> |
776 |
name="output-file" |
|
|
777 |
value="@{testPlugin}.xml" /> |
| 778 |
</antcall> |
| 779 |
<antcall target="markCurrentTime"> |
| 780 |
<param |
| 781 |
name="message" |
| 782 |
value="end @{testPlugin}" /> |
| 783 |
</antcall> |
| 784 |
</sequential> |
| 785 |
</macrodef> |
| 429 |
|
786 |
|
| 430 |
<target name="junit" unless="skip.test"> |
787 |
<target |
| 431 |
<antcall target="setup"> |
788 |
name="junit" |
| 432 |
</antcall> |
789 |
unless="skip.test"> |
| 433 |
<property file="finalPluginsVersions.properties" /> |
790 |
<antcall target="setup"> |
| 434 |
<property name="library-file" value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" /> |
791 |
</antcall> |
| 435 |
<property name="junit-stylesheet" value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
792 |
<property file="finalPluginsVersions.properties" /> |
| 436 |
<echo>trying to find ${testPlugin}_*</echo> |
793 |
<property |
| 437 |
<fileset id="test.plugin.file" dir="${eclipse-home}/plugins"> |
794 |
name="library-file" |
| 438 |
<filename name="${testPlugin}_*/test.xml" /> |
795 |
value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" /> |
| 439 |
</fileset> |
796 |
<property |
| 440 |
<property name="testPluginX" refid="test.plugin.file" /> |
797 |
name="junit-stylesheet" |
| 441 |
<echo>trying to find ${testPluginX}</echo> |
798 |
value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
| 442 |
<condition property="pluginexists" value="true"> |
799 |
<echo>trying to find ${testPlugin}_*</echo> |
| 443 |
<not> |
800 |
<fileset |
| 444 |
<equals arg1="${testPluginX}" arg2="" /> |
801 |
id="test.plugin.file" |
| 445 |
</not> |
802 |
dir="${eclipse-home}/plugins"> |
| 446 |
</condition> |
803 |
<filename name="${testPlugin}_*/test.xml" /> |
| 447 |
<antcall target="runSuite" /> |
804 |
</fileset> |
| 448 |
<antcall target="genResults" /> |
805 |
<property |
| 449 |
</target> |
806 |
name="testPluginX" |
|
|
807 |
refid="test.plugin.file" /> |
| 808 |
<echo>trying to find ${testPluginX}</echo> |
| 809 |
<condition |
| 810 |
property="pluginexists" |
| 811 |
value="true"> |
| 812 |
<not> |
| 813 |
<equals |
| 814 |
arg1="${testPluginX}" |
| 815 |
arg2="" /> |
| 816 |
</not> |
| 817 |
</condition> |
| 818 |
<antcall target="runSuite" /> |
| 819 |
<antcall target="genResults" /> |
| 820 |
</target> |
| 450 |
|
821 |
|
| 451 |
<target name="runSuite" if="pluginexists"> |
822 |
<target |
| 452 |
<ant antfile="${eclipse-home}/plugins/${testPluginX}" dir="${eclipse-home}" /> |
823 |
name="runSuite" |
| 453 |
</target> |
824 |
if="pluginexists"> |
|
|
825 |
<ant |
| 826 |
antfile="${eclipse-home}/plugins/${testPluginX}" |
| 827 |
dir="${eclipse-home}" /> |
| 828 |
</target> |
| 454 |
|
829 |
|
| 455 |
|
830 |
|
| 456 |
<target name="runSuitePerf" if="pluginexists"> |
831 |
<target |
| 457 |
<echo message="testPluginX ${testPluginX}" /> |
832 |
name="runSuitePerf" |
| 458 |
<property name="junit-stylesheet" value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
833 |
if="pluginexists"> |
| 459 |
<ant antfile="${eclipse-home}/plugins/${testPluginX}" dir="${eclipse-home}" target="performance" /> |
834 |
<echo message="testPluginX ${testPluginX}" /> |
| 460 |
</target> |
835 |
<property |
|
|
836 |
name="junit-stylesheet" |
| 837 |
value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
| 838 |
<ant |
| 839 |
antfile="${eclipse-home}/plugins/${testPluginX}" |
| 840 |
dir="${eclipse-home}" |
| 841 |
target="performance" /> |
| 842 |
</target> |
| 461 |
|
843 |
|
| 462 |
<target name="performance" if="performance.target.present" unless="skip.test"> |
844 |
<target |
| 463 |
<antcall target="setup" /> |
845 |
name="performance" |
| 464 |
<property file="finalPluginsVersions.properties" /> |
846 |
if="performance.target.present" |
| 465 |
<property name="library-file" value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" /> |
847 |
unless="skip.test"> |
|
|
848 |
<antcall target="setup" /> |
| 849 |
<property file="finalPluginsVersions.properties" /> |
| 850 |
<property |
| 851 |
name="library-file" |
| 852 |
value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" /> |
| 466 |
|
853 |
|
| 467 |
<echo>trying to find ${testPlugin}_*</echo> |
854 |
<echo>trying to find ${testPlugin}_*</echo> |
| 468 |
<fileset id="test.plugin.file" dir="${eclipse-home}/plugins"> |
855 |
<fileset |
| 469 |
<filename name="${testPlugin}_*/test.xml" /> |
856 |
id="test.plugin.file" |
| 470 |
</fileset> |
857 |
dir="${eclipse-home}/plugins"> |
| 471 |
<property name="testPluginX" refid="test.plugin.file" /> |
858 |
<filename name="${testPlugin}_*/test.xml" /> |
| 472 |
<echo>trying to find ${testPluginX}</echo> |
859 |
</fileset> |
| 473 |
<condition property="pluginexists" value="true"> |
860 |
<property |
| 474 |
<not> |
861 |
name="testPluginX" |
| 475 |
<equals arg1="${testPluginX}" arg2="" /> |
862 |
refid="test.plugin.file" /> |
| 476 |
</not> |
863 |
<echo>trying to find ${testPluginX}</echo> |
| 477 |
</condition> |
864 |
<condition |
| 478 |
<antcall target="runSuitePerf" /> |
865 |
property="pluginexists" |
| 479 |
<antcall target="genResults" /> |
866 |
value="true"> |
| 480 |
</target> |
867 |
<not> |
|
|
868 |
<equals |
| 869 |
arg1="${testPluginX}" |
| 870 |
arg2="" /> |
| 871 |
</not> |
| 872 |
</condition> |
| 873 |
<antcall target="runSuitePerf" /> |
| 874 |
<antcall target="genResults" /> |
| 875 |
</target> |
| 481 |
|
876 |
|
| 482 |
<target name="genResults"> |
877 |
<target name="genResults"> |
| 483 |
<copy file="${eclipse-home}/${report}.xml" tofile="${results}/xml/${report}_${platform}.xml" failonerror="false" /> |
878 |
<copy |
| 484 |
<property name="junit-stylesheet" value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
879 |
file="${eclipse-home}/${report}.xml" |
| 485 |
<xslt style="${junit-stylesheet}" basedir="${results}/xml" destdir="${results}/html" /> |
880 |
tofile="${results}/xml/${report}_${platform}.xml" |
| 486 |
</target> |
881 |
failonerror="false" /> |
|
|
882 |
<property |
| 883 |
name="junit-stylesheet" |
| 884 |
value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" /> |
| 885 |
<xslt |
| 886 |
style="${junit-stylesheet}" |
| 887 |
basedir="${results}/xml" |
| 888 |
destdir="${results}/html" /> |
| 889 |
</target> |
| 487 |
|
890 |
|
| 488 |
<target name="ant"> |
891 |
<target name="ant"> |
| 489 |
<runTests testPlugin="org.eclipse.ant.tests.core" /> |
892 |
<runTests testPlugin="org.eclipse.ant.tests.core" /> |
| 490 |
</target> |
893 |
</target> |
| 491 |
|
894 |
|
| 492 |
<target name="antui"> |
895 |
<target name="antui"> |
| 493 |
<runTests testPlugin="org.eclipse.ant.tests.ui" /> |
896 |
<runTests testPlugin="org.eclipse.ant.tests.ui" /> |
| 494 |
</target> |
897 |
</target> |
| 495 |
|
898 |
|
| 496 |
<target name="compare"> |
899 |
<target name="compare"> |
| 497 |
<runTests testPlugin="org.eclipse.compare.tests" /> |
900 |
<runTests testPlugin="org.eclipse.compare.tests" /> |
| 498 |
</target> |
901 |
</target> |
| 499 |
|
902 |
|
| 500 |
<target name="equinoxds"> |
903 |
<target name="equinoxds"> |
| 501 |
<runTests testPlugin="org.eclipse.equinox.ds.tests" /> |
904 |
<runTests testPlugin="org.eclipse.equinox.ds.tests" /> |
| 502 |
</target> |
905 |
</target> |
| 503 |
|
906 |
|
| 504 |
<target name="debug"> |
907 |
<target name="debug"> |
| 505 |
<runTests testPlugin="org.eclipse.debug.tests" /> |
908 |
<runTests testPlugin="org.eclipse.debug.tests" /> |
| 506 |
</target> |
909 |
</target> |
| 507 |
|
910 |
|
| 508 |
<target name="coreresources"> |
911 |
<target name="coreresources"> |
| 509 |
<runTests testPlugin="org.eclipse.core.tests.resources" /> |
912 |
<runTests testPlugin="org.eclipse.core.tests.resources" /> |
| 510 |
</target> |
913 |
</target> |
| 511 |
|
914 |
|
| 512 |
<target name="coreruntime"> |
915 |
<target name="coreruntime"> |
| 513 |
<runTests testPlugin="org.eclipse.core.tests.runtime" /> |
916 |
<runTests testPlugin="org.eclipse.core.tests.runtime" /> |
| 514 |
</target> |
917 |
</target> |
| 515 |
|
918 |
|
| 516 |
<target name="osgi"> |
919 |
<target name="osgi"> |
| 517 |
<runTests testPlugin="org.eclipse.osgi.tests" /> |
920 |
<runTests testPlugin="org.eclipse.osgi.tests" /> |
| 518 |
</target> |
921 |
</target> |
| 519 |
|
922 |
|
| 520 |
<target name="coreexpressions"> |
923 |
<target name="coreexpressions"> |
| 521 |
<runTests testPlugin="org.eclipse.core.expressions.tests" /> |
924 |
<runTests testPlugin="org.eclipse.core.expressions.tests" /> |
| 522 |
</target> |
925 |
</target> |
| 523 |
|
926 |
|
| 524 |
<target name="ltkuirefactoringtests"> |
927 |
<target name="ltkuirefactoringtests"> |
| 525 |
<runTests testPlugin="org.eclipse.ltk.ui.refactoring.tests" /> |
928 |
<runTests testPlugin="org.eclipse.ltk.ui.refactoring.tests" /> |
| 526 |
</target> |
929 |
</target> |
| 527 |
|
930 |
|
| 528 |
<target name="ltkcorerefactoringtests"> |
931 |
<target name="ltkcorerefactoringtests"> |
| 529 |
<runTests testPlugin="org.eclipse.ltk.core.refactoring.tests" /> |
932 |
<runTests testPlugin="org.eclipse.ltk.core.refactoring.tests" /> |
| 530 |
</target> |
933 |
</target> |
| 531 |
|
934 |
|
| 532 |
<target name="text"> |
935 |
<target name="text"> |
| 533 |
<runTests testPlugin="org.eclipse.text.tests" /> |
936 |
<runTests testPlugin="org.eclipse.text.tests" /> |
| 534 |
</target> |
937 |
</target> |
| 535 |
|
938 |
|
| 536 |
<target name="jface"> |
939 |
<target name="jface"> |
| 537 |
<runTests testPlugin="org.eclipse.jface.text.tests" /> |
940 |
<runTests testPlugin="org.eclipse.jface.text.tests" /> |
| 538 |
</target> |
941 |
</target> |
| 539 |
|
942 |
|
| 540 |
<target name="jfacedatabinding"> |
943 |
<target name="jfacedatabinding"> |
| 541 |
<runTests testPlugin="org.eclipse.jface.tests.databinding" /> |
944 |
<runTests testPlugin="org.eclipse.jface.tests.databinding" /> |
| 542 |
</target> |
945 |
</target> |
| 543 |
|
946 |
|
| 544 |
<target name="filebuffers"> |
947 |
<target name="filebuffers"> |
| 545 |
<runTests testPlugin="org.eclipse.core.filebuffers.tests" /> |
948 |
<runTests testPlugin="org.eclipse.core.filebuffers.tests" /> |
| 546 |
</target> |
949 |
</target> |
| 547 |
|
950 |
|
| 548 |
<target name="jdttext" unless="skip.jdttext"> |
951 |
<target |
| 549 |
<runTests testPlugin="org.eclipse.jdt.text.tests" /> |
952 |
name="jdttext" |
| 550 |
</target> |
953 |
unless="skip.jdttext"> |
|
|
954 |
<runTests testPlugin="org.eclipse.jdt.text.tests" /> |
| 955 |
</target> |
| 551 |
|
956 |
|
| 552 |
<target name="relEng" depends="setRuntimeArchive"> |
957 |
<target |
| 553 |
<runTests testPlugin="org.eclipse.releng.tests" /> |
958 |
name="relEng" |
| 554 |
<move todir="${results}/chkpii" includeEmptyDirs="no" failonerror="false"> |
959 |
depends="setRuntimeArchive"> |
| 555 |
<fileset dir="${results}/chkpii" /> |
960 |
<runTests testPlugin="org.eclipse.releng.tests" /> |
| 556 |
<mapper type="glob" from="*" to="${platform}_*" /> |
961 |
<move |
| 557 |
</move> |
962 |
todir="${results}/chkpii" |
| 558 |
</target> |
963 |
includeEmptyDirs="no" |
|
|
964 |
failonerror="false"> |
| 965 |
<fileset dir="${results}/chkpii" /> |
| 966 |
<mapper |
| 967 |
type="glob" |
| 968 |
from="*" |
| 969 |
to="${platform}_*" /> |
| 970 |
</move> |
| 971 |
</target> |
| 559 |
|
972 |
|
| 560 |
<target name="ua"> |
973 |
<target name="ua"> |
| 561 |
<runTests testPlugin="org.eclipse.ua.tests" /> |
974 |
<runTests testPlugin="org.eclipse.ua.tests" /> |
| 562 |
</target> |
975 |
</target> |
| 563 |
|
976 |
|
| 564 |
<target name="uadoc"> |
977 |
<target name="uadoc"> |
| 565 |
<runTests testPlugin="org.eclipse.ua.tests.doc" /> |
978 |
<runTests testPlugin="org.eclipse.ua.tests.doc" /> |
| 566 |
</target> |
979 |
</target> |
| 567 |
|
980 |
|
| 568 |
<target name="coretestsnet"> |
981 |
<target name="coretestsnet"> |
| 569 |
<runTests testPlugin="org.eclipse.core.tests.net" /> |
982 |
<runTests testPlugin="org.eclipse.core.tests.net" /> |
| 570 |
</target> |
983 |
</target> |
| 571 |
|
984 |
|
| 572 |
<target name="jdtcorecompiler" depends="setJVMProperties"> |
985 |
<target |
| 573 |
<condition property="jvm" value="${J2SE-5.0}"> |
986 |
name="jdtcorecompiler" |
| 574 |
<isset property="J2SE-5.0" /> |
987 |
depends="setJVMProperties"> |
| 575 |
</condition> |
988 |
<condition |
| 576 |
<runTests testPlugin="org.eclipse.jdt.core.tests.compiler" /> |
989 |
property="jvm" |
| 577 |
</target> |
990 |
value="${J2SE-5.0}"> |
|
|
991 |
<isset property="J2SE-5.0" /> |
| 992 |
</condition> |
| 993 |
<runTests testPlugin="org.eclipse.jdt.core.tests.compiler" /> |
| 994 |
</target> |
| 578 |
|
995 |
|
| 579 |
<target name="jdtapt" depends="setJVMProperties"> |
996 |
<target |
| 580 |
<property name="jvm" value="${J2SE-5.0}" /> |
997 |
name="jdtapt" |
|
|
998 |
depends="setJVMProperties"> |
| 999 |
<property |
| 1000 |
name="jvm" |
| 1001 |
value="${J2SE-5.0}" /> |
| 581 |
<!--only run test if J2SE-5.0 property set--> |
1002 |
<!--only run test if J2SE-5.0 property set--> |
| 582 |
<condition property="skip.test"> |
1003 |
<condition property="skip.test"> |
| 583 |
<not> |
1004 |
<not> |
| 584 |
<isset property="J2SE-5.0" /> |
1005 |
<isset property="J2SE-5.0" /> |
| 585 |
</not> |
1006 |
</not> |
| 586 |
</condition> |
1007 |
</condition> |
| 587 |
<runTests testPlugin="org.eclipse.jdt.apt.tests" /> |
1008 |
<runTests testPlugin="org.eclipse.jdt.apt.tests" /> |
| 588 |
</target> |
1009 |
</target> |
| 589 |
|
1010 |
|
| 590 |
<target name="jdtaptpluggable" depends="setJVMProperties"> |
1011 |
<target |
| 591 |
<property name="jvm" value="${J2SE-6.0}" /> |
1012 |
name="jdtaptpluggable" |
|
|
1013 |
depends="setJVMProperties"> |
| 1014 |
<property |
| 1015 |
name="jvm" |
| 1016 |
value="${J2SE-6.0}" /> |
| 592 |
<!--only run test if J2SE-5.0 property set--> |
1017 |
<!--only run test if J2SE-5.0 property set--> |
| 593 |
<condition property="skip.test"> |
1018 |
<condition property="skip.test"> |
| 594 |
<not> |
1019 |
<not> |
| 595 |
<or> |
1020 |
<or> |
| 596 |
<isset property="J2SE-6.0" /> |
1021 |
<isset property="J2SE-6.0" /> |
| 597 |
<isset property="J2SE-7.0" /> |
1022 |
<isset property="J2SE-7.0" /> |
| 598 |
</or> |
1023 |
</or> |
| 599 |
</not> |
1024 |
</not> |
| 600 |
</condition> |
1025 |
</condition> |
| 601 |
<runTests testPlugin="org.eclipse.jdt.apt.pluggable.tests" /> |
1026 |
<runTests testPlugin="org.eclipse.jdt.apt.pluggable.tests" /> |
| 602 |
</target> |
1027 |
</target> |
| 603 |
|
1028 |
|
| 604 |
|
1029 |
|
| 605 |
<target name="jdtcorebuilder" depends="setJVMProperties"> |
1030 |
<target |
|
|
1031 |
name="jdtcorebuilder" |
| 1032 |
depends="setJVMProperties"> |
| 606 |
<!--Run with 1.5 vm if it is available--> |
1033 |
<!--Run with 1.5 vm if it is available--> |
| 607 |
<condition property="jvm" value="${J2SE-5.0}"> |
1034 |
<condition |
| 608 |
<isset property="J2SE-5.0" /> |
1035 |
property="jvm" |
| 609 |
</condition> |
1036 |
value="${J2SE-5.0}"> |
| 610 |
<runTests testPlugin="org.eclipse.jdt.core.tests.builder" /> |
1037 |
<isset property="J2SE-5.0" /> |
| 611 |
</target> |
1038 |
</condition> |
|
|
1039 |
<runTests testPlugin="org.eclipse.jdt.core.tests.builder" /> |
| 1040 |
</target> |
| 612 |
|
1041 |
|
| 613 |
<target name="jdtcompilertool" depends="setJVMProperties"> |
1042 |
<target |
| 614 |
<property name="jvm" value="${J2SE-6.0}" /> |
1043 |
name="jdtcompilertool" |
|
|
1044 |
depends="setJVMProperties"> |
| 1045 |
<property |
| 1046 |
name="jvm" |
| 1047 |
value="${J2SE-6.0}" /> |
| 615 |
<!--only run test if J2SE-6.0 property set--> |
1048 |
<!--only run test if J2SE-6.0 property set--> |
| 616 |
<condition property="skip.test"> |
1049 |
<condition property="skip.test"> |
| 617 |
<not> |
1050 |
<not> |
| 618 |
<or> |
1051 |
<or> |
| 619 |
<isset property="J2SE-6.0" /> |
1052 |
<isset property="J2SE-6.0" /> |
| 620 |
<isset property="J2SE-7.0" /> |
1053 |
<isset property="J2SE-7.0" /> |
| 621 |
</or> |
1054 |
</or> |
| 622 |
</not> |
1055 |
</not> |
| 623 |
</condition> |
1056 |
</condition> |
| 624 |
<runTests testPlugin="org.eclipse.jdt.compiler.tool.tests" /> |
1057 |
<runTests testPlugin="org.eclipse.jdt.compiler.tool.tests" /> |
| 625 |
</target> |
1058 |
</target> |
| 626 |
|
1059 |
|
| 627 |
<target name="jdtcompilerapt" depends="setJVMProperties"> |
1060 |
<target |
| 628 |
<property name="jvm" value="${J2SE-6.0}" /> |
1061 |
name="jdtcompilerapt" |
|
|
1062 |
depends="setJVMProperties"> |
| 1063 |
<property |
| 1064 |
name="jvm" |
| 1065 |
value="${J2SE-6.0}" /> |
| 629 |
<!--only run test if J2SE-6.0 property set--> |
1066 |
<!--only run test if J2SE-6.0 property set--> |
| 630 |
<condition property="skip.test"> |
1067 |
<condition property="skip.test"> |
| 631 |
<not> |
1068 |
<not> |
| 632 |
<or> |
1069 |
<or> |
| 633 |
<isset property="J2SE-6.0" /> |
1070 |
<isset property="J2SE-6.0" /> |
| 634 |
<isset property="J2SE-7.0" /> |
1071 |
<isset property="J2SE-7.0" /> |
| 635 |
</or> |
1072 |
</or> |
| 636 |
</not> |
1073 |
</not> |
| 637 |
</condition> |
1074 |
</condition> |
| 638 |
<runTests testPlugin="org.eclipse.jdt.compiler.apt.tests" /> |
1075 |
<runTests testPlugin="org.eclipse.jdt.compiler.apt.tests" /> |
| 639 |
</target> |
1076 |
</target> |
| 640 |
|
1077 |
|
| 641 |
<target name="jdtcoremodel" depends="setJVMProperties"> |
1078 |
<target |
| 642 |
<condition property="jvm" value="${J2SE-5.0}"> |
1079 |
name="jdtcoremodel" |
| 643 |
<isset property="J2SE-5.0" /> |
1080 |
depends="setJVMProperties"> |
| 644 |
</condition> |
1081 |
<condition |
| 645 |
<runTests testPlugin="org.eclipse.jdt.core.tests.model" /> |
1082 |
property="jvm" |
| 646 |
</target> |
1083 |
value="${J2SE-5.0}"> |
|
|
1084 |
<isset property="J2SE-5.0" /> |
| 1085 |
</condition> |
| 1086 |
<runTests testPlugin="org.eclipse.jdt.core.tests.model" /> |
| 1087 |
</target> |
| 647 |
|
1088 |
|
| 648 |
<target name="jdtcoreperf"> |
1089 |
<target name="jdtcoreperf"> |
| 649 |
<runTests testPlugin="org.eclipse.jdt.core.tests.performance" /> |
1090 |
<runTests testPlugin="org.eclipse.jdt.core.tests.performance" /> |
| 650 |
</target> |
1091 |
</target> |
| 651 |
|
1092 |
|
| 652 |
<target name="jdtdebug"> |
1093 |
<target name="jdtdebug"> |
| 653 |
<runTests testPlugin="org.eclipse.jdt.debug.tests" /> |
1094 |
<runTests testPlugin="org.eclipse.jdt.debug.tests" /> |
| 654 |
</target> |
1095 |
</target> |
| 655 |
|
1096 |
|
| 656 |
<target name="jdtui"> |
1097 |
<target name="jdtui"> |
| 657 |
<runTests testPlugin="org.eclipse.jdt.ui.tests" /> |
1098 |
<runTests testPlugin="org.eclipse.jdt.ui.tests" /> |
| 658 |
</target> |
1099 |
</target> |
| 659 |
|
1100 |
|
| 660 |
<target name="jdtuirefactoring"> |
1101 |
<target name="jdtuirefactoring"> |
| 661 |
<runTests testPlugin="org.eclipse.jdt.ui.tests.refactoring" /> |
1102 |
<runTests testPlugin="org.eclipse.jdt.ui.tests.refactoring" /> |
| 662 |
</target> |
1103 |
</target> |
| 663 |
|
1104 |
|
| 664 |
<target name="pdeui"> |
1105 |
<target name="pdeui"> |
| 665 |
<runTests testPlugin="org.eclipse.pde.ui.tests" /> |
1106 |
<runTests testPlugin="org.eclipse.pde.ui.tests" /> |
| 666 |
</target> |
1107 |
</target> |
| 667 |
|
1108 |
|
| 668 |
<target name="pdebuild"> |
1109 |
<target name="pdebuild"> |
| 669 |
<property name="pdebuild" value="true" /> |
1110 |
<property |
| 670 |
<runTests testPlugin="org.eclipse.pde.build.tests" /> |
1111 |
name="pdebuild" |
| 671 |
</target> |
1112 |
value="true" /> |
|
|
1113 |
<runTests testPlugin="org.eclipse.pde.build.tests" /> |
| 1114 |
</target> |
| 672 |
|
1115 |
|
| 673 |
<target name="swt"> |
1116 |
<target name="swt"> |
| 674 |
<runTests testPlugin="org.eclipse.swt.tests" /> |
1117 |
<runTests testPlugin="org.eclipse.swt.tests" /> |
| 675 |
</target> |
1118 |
</target> |
| 676 |
|
1119 |
|
| 677 |
<target name="teamcore"> |
1120 |
<target name="teamcore"> |
| 678 |
<runTests testPlugin="org.eclipse.team.tests.core" /> |
1121 |
<runTests testPlugin="org.eclipse.team.tests.core" /> |
| 679 |
</target> |
1122 |
</target> |
| 680 |
|
1123 |
|
| 681 |
<target name="teamcvs"> |
1124 |
<target name="teamcvs"> |
| 682 |
<property name="teamcvs" value="true" /> |
1125 |
<property |
| 683 |
<runTests testPlugin="org.eclipse.team.tests.cvs.core" /> |
1126 |
name="teamcvs" |
| 684 |
</target> |
1127 |
value="true" /> |
|
|
1128 |
<runTests testPlugin="org.eclipse.team.tests.cvs.core" /> |
| 1129 |
</target> |
| 685 |
|
1130 |
|
| 686 |
<target name="ui"> |
1131 |
<target name="ui"> |
| 687 |
<runTests testPlugin="org.eclipse.ui.tests" /> |
1132 |
<runTests testPlugin="org.eclipse.ui.tests" /> |
| 688 |
</target> |
1133 |
</target> |
| 689 |
|
1134 |
|
| 690 |
<target name="uinavigator"> |
1135 |
<target name="uinavigator"> |
| 691 |
<runTests testPlugin="org.eclipse.ui.tests.navigator" /> |
1136 |
<runTests testPlugin="org.eclipse.ui.tests.navigator" /> |
| 692 |
</target> |
1137 |
</target> |
| 693 |
|
1138 |
|
| 694 |
<target name="uircp"> |
1139 |
<target name="uircp"> |
| 695 |
<runTests testPlugin="org.eclipse.ui.tests.rcp" /> |
1140 |
<runTests testPlugin="org.eclipse.ui.tests.rcp" /> |
| 696 |
</target> |
1141 |
</target> |
| 697 |
|
1142 |
|
| 698 |
<target name="uiforms"> |
1143 |
<target name="uiforms"> |
| 699 |
<runTests testPlugin="org.eclipse.ui.tests.forms" /> |
1144 |
<runTests testPlugin="org.eclipse.ui.tests.forms" /> |
| 700 |
</target> |
1145 |
</target> |
| 701 |
|
1146 |
|
| 702 |
<target name="uieditors"> |
1147 |
<target name="uieditors"> |
| 703 |
<runTests testPlugin="org.eclipse.ui.editors.tests" /> |
1148 |
<runTests testPlugin="org.eclipse.ui.editors.tests" /> |
| 704 |
</target> |
1149 |
</target> |
| 705 |
|
1150 |
|
| 706 |
<target name="uiperformance"> |
1151 |
<target name="uiperformance"> |
| 707 |
<runTests testPlugin="org.eclipse.ui.tests.performance" /> |
1152 |
<runTests testPlugin="org.eclipse.ui.tests.performance" /> |
| 708 |
</target> |
1153 |
</target> |
| 709 |
|
1154 |
|
| 710 |
<target name="uiviews"> |
1155 |
<target name="uiviews"> |
| 711 |
<runTests testPlugin="org.eclipse.ui.tests.views.properties.tabbed" /> |
1156 |
<runTests testPlugin="org.eclipse.ui.tests.views.properties.tabbed" /> |
| 712 |
</target> |
1157 |
</target> |
| 713 |
|
1158 |
|
| 714 |
<target name="uiworkbenchtexteditor"> |
1159 |
<target name="uiworkbenchtexteditor"> |
| 715 |
<runTests testPlugin="org.eclipse.ui.workbench.texteditor.tests" /> |
1160 |
<runTests testPlugin="org.eclipse.ui.workbench.texteditor.tests" /> |
| 716 |
</target> |
1161 |
</target> |
| 717 |
|
1162 |
|
| 718 |
<target name="update"> |
1163 |
<target name="update"> |
| 719 |
<runTests testPlugin="org.eclipse.update.tests.core" /> |
1164 |
<runTests testPlugin="org.eclipse.update.tests.core" /> |
| 720 |
</target> |
1165 |
</target> |
| 721 |
|
1166 |
|
| 722 |
<target name="pdeapitooling" depends="setJVMProperties"> |
1167 |
<target |
| 723 |
<property name="jvm" value="${J2SE-5.0}" /> |
1168 |
name="pdeapitooling" |
|
|
1169 |
depends="setJVMProperties"> |
| 1170 |
<property |
| 1171 |
name="jvm" |
| 1172 |
value="${J2SE-5.0}" /> |
| 724 |
<!--only run test if J2SE-5.0 property set--> |
1173 |
<!--only run test if J2SE-5.0 property set--> |
| 725 |
<condition property="skip.test"> |
1174 |
<condition property="skip.test"> |
| 726 |
<not> |
1175 |
<not> |
| 727 |
<isset property="J2SE-5.0" /> |
1176 |
<isset property="J2SE-5.0" /> |
| 728 |
</not> |
1177 |
</not> |
| 729 |
</condition> |
1178 |
</condition> |
| 730 |
<runTests testPlugin="org.eclipse.pde.api.tools.tests" /> |
1179 |
<runTests testPlugin="org.eclipse.pde.api.tools.tests" /> |
| 731 |
</target> |
1180 |
</target> |
| 732 |
|
1181 |
|
| 733 |
<target name="equinoxsecurity"> |
1182 |
<target name="equinoxsecurity"> |
| 734 |
<runTests testPlugin="org.eclipse.equinox.security.tests" /> |
1183 |
<runTests testPlugin="org.eclipse.equinox.security.tests" /> |
| 735 |
</target> |
1184 |
</target> |
| 736 |
|
1185 |
|
| 737 |
<target name="equinoxp2" depends="setJVMProperties"> |
1186 |
<!-- |
| 738 |
<property name="jvm" value="${J2SE-5.0}" /> |
1187 |
disable this tests for mac, for now, since always DNSs. See |
|
|
1188 |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390392 |
| 1189 |
--> |
| 1190 |
<target |
| 1191 |
name="equinoxp2" |
| 1192 |
depends="setJVMProperties, checkOS" |
| 1193 |
unless="isMac"> |
| 1194 |
<property |
| 1195 |
name="jvm" |
| 1196 |
value="${J2SE-5.0}" /> |
| 739 |
<!--only run test if J2SE-5.0 property set--> |
1197 |
<!--only run test if J2SE-5.0 property set--> |
| 740 |
<condition property="skip.test"> |
1198 |
<condition property="skip.test"> |
| 741 |
<not> |
1199 |
<not> |
| 742 |
<isset property="J2SE-5.0" /> |
1200 |
<isset property="J2SE-5.0" /> |
| 743 |
</not> |
1201 |
</not> |
| 744 |
</condition> |
1202 |
</condition> |
| 745 |
<runTests testPlugin="org.eclipse.equinox.p2.tests" /> |
1203 |
<runTests testPlugin="org.eclipse.equinox.p2.tests" /> |
| 746 |
</target> |
1204 |
</target> |
| 747 |
|
1205 |
|
| 748 |
<target name="equinoxp2ui" depends="setJVMProperties"> |
1206 |
<!-- |
| 749 |
<property name="jvm" value="${J2SE-5.0}" /> |
1207 |
disable this tests for mac, for now, since always DNSs. See |
|
|
1208 |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390392 |
| 1209 |
--> |
| 1210 |
<target |
| 1211 |
name="equinoxp2ui" |
| 1212 |
depends="setJVMProperties, checkOS" |
| 1213 |
unless="isMac"> |
| 1214 |
<property |
| 1215 |
name="jvm" |
| 1216 |
value="${J2SE-5.0}" /> |
| 750 |
<!--only run test if J2SE-5.0 property set--> |
1217 |
<!--only run test if J2SE-5.0 property set--> |
| 751 |
<condition property="skip.test"> |
1218 |
<condition property="skip.test"> |
| 752 |
<not> |
1219 |
<not> |
| 753 |
<isset property="J2SE-5.0" /> |
1220 |
<isset property="J2SE-5.0" /> |
| 754 |
</not> |
1221 |
</not> |
| 755 |
</condition> |
1222 |
</condition> |
| 756 |
<runTests testPlugin="org.eclipse.equinox.p2.tests.ui" /> |
1223 |
<runTests testPlugin="org.eclipse.equinox.p2.tests.ui" /> |
| 757 |
</target> |
1224 |
</target> |
| 758 |
|
1225 |
|
| 759 |
<target name="equinoxp2discovery" depends="setJVMProperties"> |
1226 |
<target |
| 760 |
<property name="jvm" value="${J2SE-5.0}" /> |
1227 |
name="equinoxp2discovery" |
|
|
1228 |
depends="setJVMProperties"> |
| 1229 |
<property |
| 1230 |
name="jvm" |
| 1231 |
value="${J2SE-5.0}" /> |
| 761 |
<!--only run test if J2SE-5.0 property set--> |
1232 |
<!--only run test if J2SE-5.0 property set--> |
| 762 |
<condition property="skip.test"> |
1233 |
<condition property="skip.test"> |
| 763 |
<not> |
1234 |
<not> |
| 764 |
<isset property="J2SE-5.0" /> |
1235 |
<isset property="J2SE-5.0" /> |
| 765 |
</not> |
1236 |
</not> |
| 766 |
</condition> |
1237 |
</condition> |
| 767 |
<runTests testPlugin="org.eclipse.equinox.p2.tests.discovery" /> |
1238 |
<runTests testPlugin="org.eclipse.equinox.p2.tests.discovery" /> |
| 768 |
</target> |
1239 |
</target> |
|
|
1240 |
|
| 1241 |
<target name="search"> |
| 1242 |
<runTests testPlugin="org.eclipse.search.tests" /> |
| 1243 |
</target> |
| 1244 |
|
| 1245 |
<target name="pdeds"> |
| 1246 |
<runTests testPlugin="org.eclipse.pde.ds.tests" /> |
| 1247 |
</target> |
| 1248 |
|
| 1249 |
<target name="bidi"> |
| 1250 |
<runTests testPlugin="org.eclipse.equinox.bidi.tests" /> |
| 1251 |
</target> |
| 1252 |
|
| 1253 |
<target name="all"> |
| 1254 |
|
| 1255 |
<antcall target="markCurrentTime"> |
| 1256 |
<param |
| 1257 |
name="message" |
| 1258 |
value="start relEng" /> |
| 1259 |
</antcall> |
| 1260 |
<antcall target="relEng" /> |
| 1261 |
<antcall target="markCurrentTime"> |
| 1262 |
<param |
| 1263 |
name="message" |
| 1264 |
value="end relEng" /> |
| 1265 |
</antcall> |
| 1266 |
|
| 1267 |
<antcall target="markCurrentTime"> |
| 1268 |
<param |
| 1269 |
name="message" |
| 1270 |
value="start platform" /> |
| 1271 |
</antcall> |
| 1272 |
<antcall target="platform" /> |
| 1273 |
<antcall target="markCurrentTime"> |
| 1274 |
<param |
| 1275 |
name="message" |
| 1276 |
value="end platform" /> |
| 1277 |
</antcall> |
| 1278 |
|
| 1279 |
<antcall target="markCurrentTime"> |
| 1280 |
<param |
| 1281 |
name="message" |
| 1282 |
value="start pde" /> |
| 1283 |
</antcall> |
| 1284 |
<antcall target="pde" /> |
| 1285 |
<antcall target="markCurrentTime"> |
| 1286 |
<param |
| 1287 |
name="message" |
| 1288 |
value="end pde" /> |
| 1289 |
</antcall> |
| 1290 |
|
| 1291 |
<antcall target="markCurrentTime"> |
| 1292 |
<param |
| 1293 |
name="message" |
| 1294 |
value="start jdt" /> |
| 1295 |
</antcall> |
| 1296 |
<antcall target="jdt" /> |
| 1297 |
<antcall target="markCurrentTime"> |
| 1298 |
<param |
| 1299 |
name="message" |
| 1300 |
value="end jdt" /> |
| 1301 |
</antcall> |
| 1302 |
|
| 1303 |
<antcall target="markCurrentTime"> |
| 1304 |
<param |
| 1305 |
name="message" |
| 1306 |
value="start platformLR" /> |
| 1307 |
</antcall> |
| 1308 |
<antcall target="platformLR" /> |
| 1309 |
<antcall target="markCurrentTime"> |
| 1310 |
<param |
| 1311 |
name="message" |
| 1312 |
value="end platformLR" /> |
| 1313 |
</antcall> |
| 1314 |
|
| 1315 |
<antcall target="markCurrentTime"> |
| 1316 |
<param |
| 1317 |
name="message" |
| 1318 |
value="start longrunning" /> |
| 1319 |
</antcall> |
| 1320 |
<antcall target="longrunning" /> |
| 1321 |
<antcall target="markCurrentTime"> |
| 1322 |
<param |
| 1323 |
name="message" |
| 1324 |
value="end longrunning" /> |
| 1325 |
</antcall> |
| 1326 |
|
| 1327 |
</target> |
| 1328 |
|
| 1329 |
<!-- |
| 1330 |
admittedly, not quite all of 'platform', but for |
| 1331 |
now serves dual purpose of a "short set" of tests, that area |
| 1332 |
relatively quick, and realtively reliable on build.eclipse.org hardware |
| 1333 |
--> |
| 1334 |
<target name="platform"> |
| 1335 |
<antcall target="ant" /> |
| 1336 |
<antcall target="antui" /> |
| 1337 |
<antcall target="compare" /> |
| 769 |
|
1338 |
|
| 770 |
<target name="search"> |
1339 |
<antcall target="coreruntime" /> |
| 771 |
<runTests testPlugin="org.eclipse.search.tests" /> |
1340 |
<antcall target="osgi" /> |
| 772 |
</target> |
1341 |
<antcall target="coreresources" /> |
|
|
1342 |
<antcall target="coreexpressions" /> |
| 1343 |
<antcall target="coretestsnet" /> |
| 1344 |
<antcall target="text" /> |
| 1345 |
<antcall target="jfacedatabinding" /> |
| 1346 |
<antcall target="filebuffers" /> |
| 1347 |
<antcall target="teamcore" /> |
| 1348 |
<antcall target="uadoc" /> |
| 1349 |
<antcall target="uieditors" /> |
| 1350 |
<antcall target="uinavigator" /> |
| 1351 |
<antcall target="uiworkbenchtexteditor" /> |
| 773 |
|
1352 |
|
| 774 |
<target name="pdeds"> |
1353 |
|
| 775 |
<runTests testPlugin="org.eclipse.pde.ds.tests" /> |
1354 |
<!-- don't run now, for 4.2. See bug 380553. |
| 776 |
</target> |
1355 |
<antcall target="uircp" /> |
|
|
1356 |
--> |
| 777 |
|
1357 |
|
| 778 |
<target name="bidi"> |
1358 |
<antcall target="uiviews" /> |
| 779 |
<runTests testPlugin="org.eclipse.equinox.bidi.tests" /> |
1359 |
<antcall target="ua" /> |
| 780 |
</target> |
1360 |
<antcall target="uiforms" /> |
|
|
1361 |
<antcall target="equinoxp2ui" /> |
| 1362 |
<antcall target="equinoxsecurity" /> |
| 1363 |
<antcall target="search" /> |
| 1364 |
<antcall target="debug" /> |
| 1365 |
<antcall target="ui" /> |
| 1366 |
<antcall target="equinoxds" /> |
| 1367 |
<antcall target="equinoxp2discovery" /> |
| 1368 |
<antcall target="bidi" /> |
| 1369 |
<antcall target="ltkuirefactoringtests" /> |
| 1370 |
<antcall target="ltkcorerefactoringtests" /> |
| 1371 |
</target> |
| 781 |
|
1372 |
|
|
|
1373 |
<!-- this group is "platform tests" that are Long Running (or, perhaps |
| 1374 |
hang, during performance testss |
| 1375 |
--> |
| 1376 |
<target name="platformLR"> |
| 1377 |
<antcall target="teamcvs" /> |
| 1378 |
<antcall target="jface" /> |
| 1379 |
<antcall target="swt" /> |
| 1380 |
<antcall target="uiperformance" /> |
| 1381 |
</target> |
| 782 |
|
1382 |
|
|
|
1383 |
<target name="pde"> |
| 1384 |
<antcall target="pdeapitooling" /> |
| 1385 |
<antcall target="pdeds" /> |
| 1386 |
<antcall target="pdebuild" /> |
| 1387 |
<antcall target="pdeui" /> |
| 1388 |
</target> |
| 783 |
|
1389 |
|
|
|
1390 |
<target name="jdt"> |
| 1391 |
<antcall target="jdtcompilertool" /> |
| 1392 |
<antcall target="jdtcompilerapt" /> |
| 1393 |
<antcall target="jdttext" /> |
| 1394 |
<antcall target="jdtcoreperf" /> |
| 1395 |
<antcall target="jdtcorebuilder" /> |
| 1396 |
<antcall target="jdtcorecompiler" /> |
| 1397 |
<antcall target="jdtdebug" /> |
| 1398 |
<antcall target="jdtui" /> |
| 1399 |
<antcall target="jdtuirefactoring" /> |
| 1400 |
<antcall target="jdtapt" /> |
| 1401 |
<antcall target="jdtaptpluggable" /> |
| 1402 |
<antcall target="jdtcoremodel" /> |
| 1403 |
</target> |
| 784 |
|
1404 |
|
|
|
1405 |
<target name="longrunning"> |
| 1406 |
<antcall target="equinoxp2" /> |
| 1407 |
</target> |
| 785 |
|
1408 |
|
| 786 |
<target name="all"> |
1409 |
<!-- we could put other variables/os checks here, if needed --> |
| 787 |
<antcall target="equinoxp2" /> |
1410 |
<target name="checkOS"> |
| 788 |
<antcall target="equinoxp2ui" /> |
1411 |
<condition |
| 789 |
<antcall target="pdeui" /> |
1412 |
property="isMac" |
| 790 |
<antcall target="jdtcompilertool" /> |
1413 |
value="true"> |
| 791 |
<antcall target="jdtcompilerapt" /> |
1414 |
<os family="mac" /> |
| 792 |
<antcall target="jdttext" /> |
1415 |
</condition> |
| 793 |
<antcall target="ant" /> |
1416 |
<condition |
| 794 |
<antcall target="compare" /> |
1417 |
property="isUnix" |
| 795 |
<antcall target="coreruntime" /> |
1418 |
value="true"> |
| 796 |
<antcall target="coreresources" /> |
1419 |
<os family="unix" /> |
| 797 |
<antcall target="osgi" /> |
1420 |
</condition> |
| 798 |
<antcall target="coreexpressions" /> |
1421 |
</target> |
| 799 |
<antcall target="teamcore" /> |
1422 |
<macrodef name="markTime"> |
| 800 |
<antcall target="jdtcoreperf" /> |
1423 |
<attribute name="msg" /> |
| 801 |
<antcall target="jdtcorebuilder" /> |
1424 |
<sequential> |
| 802 |
<antcall target="jdtcorecompiler" /> |
1425 |
<!-- |
| 803 |
<antcall target="uiperformance" /> |
1426 |
we write the message first, with no ${line.separator} so that the timestamp can |
| 804 |
<antcall target="uieditors" /> |
1427 |
go on same line, and my side-effect writes an EOL |
| 805 |
<antcall target="uinavigator" /> |
1428 |
--> |
| 806 |
<antcall target="uiworkbenchtexteditor" /> |
1429 |
<echo |
| 807 |
<antcall target="uircp" /> |
1430 |
message="@{msg} " |
| 808 |
<antcall target="uiviews" /> |
1431 |
append="true" |
| 809 |
<antcall target="jdtdebug" /> |
1432 |
file="${junit-report-output}/testTimes.log" /> |
| 810 |
<antcall target="jdtui" /> |
1433 |
<!-- This executable should run on all unix platforms (linux, mac) --> |
| 811 |
<antcall target="jdtuirefactoring" /> |
1434 |
<exec |
| 812 |
<antcall target="ltkuirefactoringtests" /> |
1435 |
executable="date" |
| 813 |
<antcall target="ltkcorerefactoringtests" /> |
1436 |
append="true" |
| 814 |
<antcall target="text" /> |
1437 |
output="${junit-report-output}/testTimes.log" |
| 815 |
<antcall target="jface" /> |
1438 |
osfamily="unix"> |
| 816 |
<antcall target="jfacedatabinding" /> |
1439 |
<arg value="+%s" /> |
| 817 |
<antcall target="filebuffers" /> |
1440 |
</exec> |
| 818 |
<antcall target="antui" /> |
1441 |
</sequential> |
| 819 |
<antcall target="coretestsnet" /> |
1442 |
</macrodef> |
| 820 |
<antcall target="jdtapt" /> |
1443 |
<target |
| 821 |
<antcall target="pdebuild" /> |
1444 |
name="markCurrentTime" |
| 822 |
<antcall target="jdtaptpluggable" /> |
1445 |
depends="checkOS" |
| 823 |
<antcall target="ua" /> |
1446 |
if="isUnix"> |
| 824 |
<antcall target="uiforms" /> |
1447 |
<!-- caller in callant is expected to supply msg --> |
| 825 |
<antcall target="pdeapitooling" /> |
1448 |
<property |
| 826 |
<antcall target="equinoxsecurity" /> |
1449 |
name="message" |
| 827 |
<antcall target="search" /> |
1450 |
value="no message given by caller" /> |
| 828 |
<antcall target="pdeds" /> |
1451 |
<markTime msg="${message}" /> |
| 829 |
<antcall target="jdtcoremodel" /> |
1452 |
</target> |
| 830 |
<antcall target="uadoc" /> |
|
|
| 831 |
<antcall target="debug" /> |
| 832 |
<antcall target="ui" /> |
| 833 |
<antcall target="relEng" /> |
| 834 |
<antcall target="swt" /> |
| 835 |
<antcall target="teamcvs" /> |
| 836 |
<antcall target="equinoxds" /> |
| 837 |
<antcall target="equinoxp2discovery" /> |
| 838 |
<antcall target="bidi" /> |
| 839 |
|
1453 |
|
| 840 |
</target> |
|
|
| 841 |
</project> |
1454 |
</project> |
| 842 |
|
1455 |
|