blob: 5d1a629985607cf28ef465b53652b11e5a192890 [file] [log] [blame]
Stephan Herrmanndcd87c12010-04-25 10:59:27 +00001<?xml version="1.0"?>
2<!--
3 Copyright (c) 2010 Stephan Herrmann and others.
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
8
9 Contributors:
10 Stephan Herrmann - initial API and implementation
11-->
12<project name="Main Object Teams Build and Test Automation" default="INFO">
13
14 <target name="showGivenProperties"
15 description="Show values of all properties that should be passed from our caller.">
16 <echo>Properties passed into this script:
17------------------------------------------------------------------------------
18path of eclipse SDK:
19 eclipse-app.tgz = ${eclipse-app.tgz}
Stephan Herrmannaf43e4a2013-04-29 23:19:56 +020020eclipse SDK build qualifier:
21 eclipse.sdk.qualifier = ${eclipse.sdk.qualifier}
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000022path of eclipse test framework:
Stephan Herrmann8372dc22010-06-03 22:41:05 +000023 eclipse.tests.zip= ${eclipse.tests.zip}
24path of published updates:
25 published.updates= ${published.updates}
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000026should sources be built (true|false)?
27 do.build.all = ${do.build.all}
28should test be run (true|false)?
29 do.run.tests = ${do.run.tests}
Stephan Herrmann56428e92013-02-23 12:29:56 +010030directory for tempory files during testing:
31 test.tmpDir = ${test.tmpDir}
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000032------------------------------------------------------------------------------
33 </echo>
34 </target>
35
36 <target name="setupProperties" depends="showGivenProperties">
37
38 <dirname property="_toplevelDir" file="${ant.file}"/>
39
40 <!-- main configuration file (version dependent names etc.): -->
41 <loadproperties srcfile="${_toplevelDir}/run.properties" />
42
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000043 <!-- ======== Directories (indentation shows structure): ======== -->
44 <!-- build scripts: -->
45 <property name="OTScriptDir" value="${_toplevelDir}" />
46 <property name="buildfile" value="${OTScriptDir}/build.xml" />
47 <property name="builder-otcompiler" value="${OTScriptDir}/OT-Compiler" />
48 <property name="builder-otdt" value="${OTScriptDir}/OTDT-Build" />
49
50 <!-- directories for the build: -->
51 <property name="build.root.dir" value="${user.dir}/build-root" />
Stephan Herrmann33c26042010-06-03 10:24:16 +000052 <!-- These names are hard coded in pde-build: -->
53 <property name="buildDirectory" value="${build.root.dir}/src" />
Stephan Herrmann33c26042010-06-03 10:24:16 +000054 <property name="baseLocation" value="${build.root.dir}/eclipse" />
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000055
56 <!-- directories for testing: -->
57 <property name="test.root.dir" value="${user.dir}/test-root" />
58 <!-- This name is used in individual test.xml of test plugins: -->
59 <property name="test.eclipseDir" value="${test.root.dir}/eclipse" />
60
61 <!-- directories for update sites: -->
Stephan Herrmannf82b3e72015-06-09 14:51:36 +020062 <property name="compilerUpdatesDir" value="${user.dir}/updateSiteCompiler"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000063 <property name="otdtUpdatesDir" value="${user.dir}/updateSite"/>
64 <property name="testsUpdatesDirBase" value="${user.dir}/updateSiteTests"/>
Stephan Herrmann20ff77c2010-06-03 09:31:09 +000065 <!-- will have sub directories "eclipse" and "otdt" -->
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000066
Stephan Herrmanneac90682013-04-29 23:29:13 +020067 <!-- ======== Insert SDK build qualifier into our configuration files: ======== -->
68 <copy file="${map.file.path}.in" tofile="${map.file.path}">
69 <filterset>
70 <filter token="SDK_QUALIFIER" value="${eclipse.sdk.qualifier}"/>
71 </filterset>
72 </copy>
Stephan Herrmann32ed6af2014-01-05 02:44:25 +010073 <!-- Insert SDK build qualifier into our configuration file: -->
74 <copy file="${OTScriptDir}/test.properties.in" tofile="${OTScriptDir}/test.properties" overwrite="true">
75 <filterset>
76 <filter token="SDK_QUALIFIER" value="${eclipse.sdk.qualifier}"/>
77 </filterset>
78 </copy>
79
80 <!-- versions of test plugins: -->
81 <loadproperties srcfile="${OTScriptDir}/test.properties" />
Stephan Herrmanneac90682013-04-29 23:29:13 +020082
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000083 <!-- ======== More Configuration Details: ======== -->
84 <!-- maybe obsolete: file prefix to distinguish output files. -->
85 <property name="file-id" value="XXX" />
86
87 <!-- Configure Java for STAGE 1 and STAGE 2 building: -->
88 <property name="vm" value="java" />
89 <property name="vm.args" value="-Xmx912m" />
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000090
91 <property name="installmode" value="clean" />
92
Stephan Herrmannaad4a812016-11-01 00:16:03 +010093 <!--
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000094 <property name="saxon.jar.name" value="saxon8.jar" />
95 <property name="saxon.jar.path" value="${user.home}/.ant/lib/${saxon.jar.name}" />
96 <available file="${saxon.jar.path}" property="_hasSaxon.jar" />
Stephan Herrmannaad4a812016-11-01 00:16:03 +010097 -->
98 <property name="_hasSaxon.jar" value="true"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000099
100 <!-- ant's os.arch is slightly different than osgi's arch -->
Stephan Herrmann1a9d85a2010-05-17 22:45:31 +0000101 <condition property="arch" value="x86_64"> <!-- HACK: hard coding 64-bit architecture -->
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000102 <os arch="i386" />
103 </condition>
104 <condition property="arch" value="ppc64"> <!-- HACK: hard coding 64-bit architecture -->
105 <os arch="ppc" />
106 </condition>
Stephan Herrmann005fc312010-05-18 12:52:58 +0000107 <condition property="arch" value="x86_64"> <!-- Map ant's arch to OSGi arch -->
108 <os arch="amd64" />
109 </condition>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000110 <!-- if not set above, set it to os.arch -->
111 <property name="arch" value="${os.arch}" />
112
113 </target>
114
115
116 <target name="INFO">
117 <echo>Usage:
Stephan Herrmannb105b082011-05-15 00:39:56 +0000118 ant -f run.xml ot-junit-all -> runs OTDT Build and Testprocess
119 ant -f run.xml ot-junit-otdt -> runs OTDT Build and Testprocess excluding jdt tests
120 ant -f run.xml ot-junit-build -> runs just OTDT Buildprocess
121 ant -f run.xml ot-compiler-build -> just build the compiler
122 ant -f run.xml ot-junit-run -> runs just OTDT Tests w/o TestSetup
123 </echo>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000124 </target>
125
126 <target name="ot-junit-all" depends="setupProperties,checkOS" description="Build all and run all tests.">
127 <echo message="Starting BuildProcess and Testrun in ${build.root.dir}"/>
128 <antcall target="verifyAntInstall"/>
129 <antcall target="setupTests" />
130 <antcall target="runAllTests"/>
131 </target>
132
Stephan Herrmannd8c81652010-11-06 15:01:14 +0000133 <target name="ot-junit-otdt" depends="setupProperties,checkOS" description="Build all and run otdt tests.">
134 <echo message="Starting BuildProcess and Testrun in ${build.root.dir}"/>
135 <antcall target="verifyAntInstall"/>
136 <antcall target="setupTests" />
137 <antcall target="runOTDTTests"/>
138 </target>
139
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000140 <target name="ot-junit-build" depends="setupProperties,checkOS" description="build everything without running tests">
141 <echo message="Starting BuildProcess in ${build.root.dir}"/>
142 <antcall target="verifyAntInstall"/>
143 <antcall target="createOTDTEclipse"/>
Stephan Herrmann8b5e97e2013-07-30 18:44:03 +0200144 <antcall target="setupTests" />
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000145 </target>
146
Stephan Herrmannb59f3f02011-05-15 00:17:51 +0000147 <target name="ot-compiler-build" depends="setupProperties,checkOS" description="build only the compiler (for debugging the build)">
148 <echo message="Starting BuildProcess in ${build.root.dir}"/>
149 <antcall target="verifyAntInstall"/>
150 <antcall target="createOTCompilerEclipse"/>
151 </target>
152
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000153 <target name="ot-junit-run" depends="setupProperties,checkOS" description="Run tests without building">
154 <echo message="Starting Testrun ${test.root.dir}"/>
155 <antcall target="runAllTests" />
156 </target>
157
Stephan Herrmann8b5e97e2013-07-30 18:44:03 +0200158 <target name="ot-junit-run-ot" depends="setupProperties,checkOS" description="Run OT tests without building">
159 <echo message="Starting Testrun ${test.root.dir}"/>
160 <antcall target="runOTDTTests" />
161 </target>
162
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000163 <!-- =================== END Public Targets ==================== -->
164
165 <!-- === Setup Targets: === -->
166
167 <target name="verifyAntInstall" unless="_hasSaxon.jar">
168 <copy failonerror="true" overwrite="false" file="${OTScriptDir}/${saxon.jar.name}" tofile="${saxon.jar.path}"></copy>
169 <echo message="Needed to copy saxon8.jar to ${saxon.jar.path}. Please restart the build." />
170 <echo message="For an explanation, see http://ant.apache.org/faq.html#delegating-classloader-1.6" />
171 <fail message="See above. Please restart the build."/>
172 </target>
173
174 <!-- checks on which os ant is run, set ${os} and ${ws} accordingly -->
175 <target name="determineOS">
176 <condition property="os.isWindows">
177 <os family="windows"/>
178 </condition>
179
180 <condition property="os.isLinux">
181 <os name="Linux" />
182 </condition>
183 </target>
184
185 <target name="checkOS" depends="determineOS,windows,linux"/>
186
187 <target name="windows" if="os.isWindows">
188 <echo message="OS is Windows"/>
189 <property name="os" value="win32" />
190 <property name="ws" value="win32" />
191 </target>
192
193 <target name="linux" unless="os.isWindows" >
194 <echo message="OS is Linux"/>
195 <!-- eclipse-app.tgz is already passed from the calling script -->
196 <property name="os" value="linux" />
197 <property name="ws" value="gtk" />
198 </target>
199
200 <target name="setupForCompile" depends="checkOS" unless="_hasCreatedOTDTEclipse">
201 <antcall target="UnzipEclipse"/>
202 <antcall target="AddPluginsToEclipse"/>
203 </target>
204
205 <target name="UnzipEclipse">
206 <echo message="Extracting Eclipse (${eclipse-app.tgz}) in ${build.root.dir}..."/>
207 <mkdir dir="${build.root.dir}"/>
208 <untar compression="gzip" src="${eclipse-app.tgz}" dest="${build.root.dir}"/>
209 </target>
210
Stephan Herrmann37d869a2011-12-16 23:48:02 +0100211 <target name="AddPluginsToEclipse" description="Add git.pde.build plugins to the base Eclipse">
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000212 <mkdir dir="${baseLocation}/dropins/plugins"/>
Stephan Herrmanne67e17d2011-10-27 14:36:26 +0000213 <copy file="${OTScriptDir}/lib/${git.pde.build}" todir="${baseLocation}/dropins/plugins" />
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000214 </target>
215
216 <!-- ==== BUILDING AND RUNNING: ==== -->
217
218 <!-- ==== BUILD STAGE 1: ==== -->
219 <!-- setting an empty inputstring is a workaround for http://issues.apache.org/bugzilla/show_bug.cgi?id=34461 -->
220 <target name="createOTCompilerEclipse" depends="setupForCompile" description="create the bootstrapping Eclipse with OT/J compiler">
221 <echo message="Invoke pdebuild for creating the OT-Compiler"/>
222 <java
223 inputstring=""
224 dir="${baseLocation}"
225 fork="true"
226 classname="org.eclipse.equinox.launcher.Main"
227 classpath="${baseLocation}/plugins/${org.eclipse.equinox.launcher_jar}">
228 <arg value="-Dosgi.ws=${ws}"/>
229 <arg value="-Dosgi.os=${os}"/>
230 <arg value="-Dosgi.arch=${arch}"/>
231 <arg value="-application"/>
232 <arg value="org.eclipse.ant.core.antRunner"/>
233 <arg value="-buildfile"/>
234 <arg value="${buildfile}"/>
235 <arg value="-Dbuild.root.dir=${build.root.dir}"/>
236 <arg value="-DbaseLocation=${baseLocation}"/>
237 <arg value="-DOTScriptDir=${OTScriptDir}"/>
238 <arg value="-Drun.eclipseScriptDir=${run.eclipseScriptDir}"/>
239 <arg value="-Dbuilder=${builder-otcompiler}"/>
240 <arg value="-D${installmode}=true"/> <!-- <- obsolete? -->
241 <arg value="-Dcomponent.short=OT-Compiler"/>
Stephan Herrmannf82b3e72015-06-09 14:51:36 +0200242 <arg value="-DotdtUpdatesDir=${compilerUpdatesDir}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000243 <arg value="-Dconfigs=*,*,*"/>
244 <arg value="-Dbaseos=${os}"/>
245 <arg value="-Dbasews=${ws}"/>
246 <arg value="-Dbasearch=${arch}"/>
247 <arg value="-Dtest.root.dir=${test.root.dir}"/>
248 <arg value="-Dtest.eclipseDir=${test.eclipseDir}"/>
249 <arg value="-DmapVersionTag=${mapVersionTag}"/>
Stephan Herrmannd8abd7a2012-04-12 22:08:50 +0200250 <arg value="-Dmap.file.path=${map.file.path}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000251 <arg value="-Declipse-app.tgz=${eclipse-app.tgz}"/>
252 <arg value="-Declipse.tests.zip=${eclipse.tests.zip}"/>
Stephan Herrmanneacdfde2010-08-25 05:58:42 +0000253 <!--arg value="-verbose" /-->
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000254 <jvmarg value="${vm.args}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000255 </java>
Stephan Herrmannb105b082011-05-15 00:39:56 +0000256 <!-- Now we should have an update site with the patch feature, time to install it into base: -->
Stephan Herrmannb59f3f02011-05-15 00:17:51 +0000257 <ant antfile="${OTScriptDir}/p2helper.xml" target="installFeature" dir="${baseLocation}">
258 <property name="feature" value="org.eclipse.objectteams.otdt.core.patch.feature.group"/>
Stephan Herrmannf82b3e72015-06-09 14:51:36 +0200259 <property name="sourceUpdatesDir" value="${compilerUpdatesDir}"/>
Stephan Herrmannb59f3f02011-05-15 00:17:51 +0000260 <property name="targetEclipseDir" value="${baseLocation}"/>
261 </ant>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000262 </target>
263
264 <!-- ==== BUILD STAGE 2: ==== -->
265 <!-- setting an empty inputstring is a workaround for http://issues.apache.org/bugzilla/show_bug.cgi?id=34461 -->
266 <target name="createOTDTEclipse" depends="createOTCompilerEclipse" unless="_hasCreatedOTDTEclipse">
267
268 <!-- Make org.eclipse.test.performance available while compiling test projects: -->
269 <echo message="Pre-installing Eclipse Test Framework into OTCompilerEclipse..."/>
Stephan Herrmann67cbf1c2010-09-26 09:59:15 +0000270 <mkdir dir="${testsUpdatesDirBase}/eclipse"/>
271 <unzip dest="${testsUpdatesDirBase}/eclipse" src="${eclipse.tests.zip}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000272 <ant antfile="${OTScriptDir}/p2helper.xml" target="installFeature" dir="${baseLocation}">
273 <property name="feature" value="org.eclipse.test.feature.group"/>
Stephan Herrmann20ff77c2010-06-03 09:31:09 +0000274 <property name="sourceUpdatesDir" value="${testsUpdatesDirBase}/eclipse"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000275 <property name="targetEclipseDir" value="${baseLocation}"/>
276 </ant>
Stephan Herrmann8372dc22010-06-03 22:41:05 +0000277
278 <!-- pre-load updateSite with published releases: -->
Stephan Herrmann0c9b5722010-06-04 22:13:03 +0000279 <mkdir dir="${otdtUpdatesDir}/plugins"/>
280 <mkdir dir="${otdtUpdatesDir}/features"/>
Stephan Herrmanna5b8dbf2015-10-18 17:46:21 +0200281<!-- don't use previous artifacts during the transition to OTDRE:
Stephan Herrmann0c9b5722010-06-04 22:13:03 +0000282 <exec executable="/bin/sh">
283 <arg value="-c"/>
284 <arg value="ln -s ${published.updates}/features/* ${otdtUpdatesDir}/features/"/>
285 </exec>
286 <exec executable="/bin/sh">
287 <arg value="-c"/>
288 <arg value="ln -s ${published.updates}/plugins/* ${otdtUpdatesDir}/plugins/"/>
289 </exec>
Stephan Herrmanna5b8dbf2015-10-18 17:46:21 +0200290-->
Stephan Herrmann8372dc22010-06-03 22:41:05 +0000291 <!-- pre-load category-less metadata: -->
Stephan Herrmanna5b8dbf2015-10-18 17:46:21 +0200292<!--
Stephan Herrmann8372dc22010-06-03 22:41:05 +0000293 <copy failonerror="false" flatten="true" toDir="${otdtUpdatesDir}">
294 <fileset dir="${user.dir}/metadata">
295 <include name="*.xml"/>
296 </fileset>
297 </copy>
Stephan Herrmanna5b8dbf2015-10-18 17:46:21 +0200298-->
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000299
300 <echo message="Invoke pdebuild for creating a full OTDT"/>
301 <java
302 inputstring=""
303 dir="${baseLocation}"
304 fork="true"
305 classname="org.eclipse.equinox.launcher.Main"
306 classpath="${baseLocation}/plugins/${org.eclipse.equinox.launcher_jar}">
307 <arg value="-clean"/>
308 <arg value="-Dosgi.ws=${ws}"/>
309 <arg value="-Dosgi.os=${os}"/>
310 <arg value="-Dosgi.arch=${arch}"/>
311 <arg value="-application"/>
312 <arg value="org.eclipse.ant.core.antRunner"/>
313 <arg value="-buildfile"/>
314 <arg value="${buildfile}"/>
315 <arg value="-Dbuild.root.dir=${build.root.dir}"/>
316 <arg value="-DbaseLocation=${baseLocation}"/>
317 <arg value="-Drun.eclipseScriptDir=${run.eclipseScriptDir}"/>
318 <arg value="-DOTScriptDir=${OTScriptDir}"/>
319 <arg value="-Dbuilder=${builder-otdt}"/>
320 <arg value="-D${installmode}=true"/>
321 <arg value="-Dcomponent.short=OTDT-Build"/>
322 <arg value="-DotdtUpdatesDir=${otdtUpdatesDir}"/>
Stephan Herrmann20ff77c2010-06-03 09:31:09 +0000323 <arg value="-DtestsUpdatesDirBase=${testsUpdatesDirBase}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000324 <arg value="-Dbaseos=${os}"/>
325 <arg value="-Dbasews=${ws}"/>
326 <arg value="-Dbasearch=${arch}"/>
327 <arg value="-Dtest.root.dir=${test.root.dir}"/>
328 <arg value="-Dtest.eclipseDir=${test.eclipseDir}"/>
Stephan Herrmannd8abd7a2012-04-12 22:08:50 +0200329 <arg value="-Dmap.file.path=${map.file.path}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000330 <arg value="-DmapVersionTag=${mapVersionTag}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000331 <arg value="-Ddo.run.tests=${do.run.tests}"/>
332 <arg value="-Ddo.build.all=${do.build.all}"/>
333 <arg value="-Declipse-app.tgz=${eclipse-app.tgz}"/>
334 <arg value="-Declipse.tests.zip=${eclipse.tests.zip}"/>
Stephan Herrmanneacdfde2010-08-25 05:58:42 +0000335 <!--arg value="-verbose" /-->
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000336 <jvmarg value="${vm.args}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000337 <!-- arg value="${verboseAnt}"/ -->
338 <!-- arg value="-debug" / -->
339 </java>
Stephan Herrmann20ff77c2010-06-03 09:31:09 +0000340 <!-- At this point a local update site exists, thanks to p2gathering=true -->
Stephan Herrmann99e184d2010-06-11 17:27:25 +0000341
342 <ant antfile="${OTScriptDir}/p2helper.xml" target="patchMetadata" dir="${otdtUpdatesDir}"/>
343
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000344 <property name="_hasCreatedOTDTEclipse" value="true" />
345 </target>
346
347 <!-- TESTING at STAGE 3: -->
348 <target name="setupTests" depends="createOTDTEclipse" description="Install the tests into an fresh OTDT">
349 <available file="${buildDirectory}/label.properties" property="label.properties.exists" />
350 <ant antfile="${OTScriptDir}/test.xml" target="setupTests" dir="${build.root.dir}">
351 <property name="os" value="${os}" />
352 <property name="ws" value="${ws}" />
353 <property name="arch" value="${arch}" />
354 <property name="baseos" value="${os}" />
355 <property name="basews" value="${ws}" />
356 <property name="basearch" value="${arch}" />
357 <property name="eclipse-app.tgz" value="${eclipse-app.tgz}" />
358 <property file="${buildDirectory}/label.properties" />
359 <property name="otdtUpdatesDir" value="${otdtUpdatesDir}" />
Stephan Herrmann20ff77c2010-06-03 09:31:09 +0000360 <property name="testsUpdatesDirBase" value="${testsUpdatesDirBase}" />
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000361 </ant>
362 </target>
363
364 <target name="runAllTests" description="Delegate to the next level script to perform the actual testing.">
365 <ant antfile="${OTScriptDir}/test.xml" target="all" dir="${build.root.dir}">
366 <property name="os" value="${os}" />
367 <property name="ws" value="${ws}" />
368 <property name="arch" value="${arch}" />
369 <property name="baseos" value="${os}" />
370 <property name="basews" value="${ws}" />
371 <property name="basearch" value="${arch}" />
372 <property name="otdtUpdatesDir" value="${otdtUpdatesDir}" />
Stephan Herrmann20ff77c2010-06-03 09:31:09 +0000373 <property name="testsUpdatesDirBase" value="${testsUpdatesDirBase}" />
Stephan Herrmann56428e92013-02-23 12:29:56 +0100374 <property name="test.tmpDir" value="${test.tmpDir}"/>
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000375 <property name="vmargs" value="${vmargs}" />
376 </ant>
377 </target>
378
Stephan Herrmannd8c81652010-11-06 15:01:14 +0000379 <target name="runOTDTTests" description="Delegate to the next level script to perform the actual testing.">
380 <ant antfile="${OTScriptDir}/test.xml" target="otdt-tests" dir="${build.root.dir}">
381 <property name="os" value="${os}" />
382 <property name="ws" value="${ws}" />
383 <property name="arch" value="${arch}" />
384 <property name="baseos" value="${os}" />
385 <property name="basews" value="${ws}" />
386 <property name="basearch" value="${arch}" />
387 <property name="otdtUpdatesDir" value="${otdtUpdatesDir}" />
388 <property name="testsUpdatesDirBase" value="${testsUpdatesDirBase}" />
Stephan Herrmann56428e92013-02-23 12:29:56 +0100389 <property name="test.tmpDir" value="${test.tmpDir}"/>
Stephan Herrmannd8c81652010-11-06 15:01:14 +0000390 <property name="vmargs" value="${vmargs}" />
391 </ant>
392 </target>
393
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000394 <!-- currently unused target name="collectResults">
Stephan Herrmanna1eeb302013-04-29 23:51:25 +0200395 <ant target="collect" antfile="${test.root.dir}/library.xml" dir="${otresults}">
Stephan Herrmanndcd87c12010-04-25 10:59:27 +0000396 <property name="includes" value="org.*.xml"/>
397 <property name="output-file" value="AllTestSuites.xml"/>
398 </ant>
399 </target -->
400
401</project>