|
46 | 46 | arg1="${testPlugin}" |
47 | 47 | arg2="org.eclipse.pde.build.tests" /> |
48 | 48 | </condition> |
49 | | - |
| 49 | + |
50 | 50 | <condition |
51 | 51 | property="extraIU" |
52 | 52 | value="org.eclipse.unittest.ui"> |
|
332 | 332 | <delete |
333 | 333 | verbose="false" |
334 | 334 | dir="${platformLocation}/eclipse" /> |
335 | | - <echo message="Fresh extract ${runtimeArchive} into ${install} for testing." /> |
| 335 | + <echo message="Fresh extract ${runtimeArchive} into ${install} for testing." /> |
336 | 336 | <exec |
337 | 337 | dir="${platformLocation}" |
338 | 338 | executable="hdiutil"> |
|
502 | 502 | <fail |
503 | 503 | message="buildId variable had unexpected format. Should be of the form [IMXYNPSRU] 8 digits '-' 4 digits, but was ${buildId}" |
504 | 504 | unless="buildIdOK" /> |
505 | | - |
| 505 | + |
506 | 506 | <loadresource property="buildType"> |
507 | 507 | <string value="${buildId}"/> |
508 | 508 | <filterchain> |
|
579 | 579 | <fail |
580 | 580 | message="eclipseStream variable had unexpected format. Should be of form digit.digit[.digit], but was ${eclipseStream}" |
581 | 581 | unless="streamOK" /> |
582 | | - |
| 582 | + |
583 | 583 | <loadresource property="eclipseStreamMajor"> |
584 | 584 | <string value="${eclipseStream}"/> |
585 | 585 | <filterchain> |
|
792 | 792 |
|
793 | 793 | <target |
794 | 794 | name="init" |
795 | | - depends="initWorkspace,initProductionProperties,initBuildId, initBuildType, initDownloadHosts, initStreamVariables, initCurrentUpdateSite, initBasicDirectories,initOSes, initPlatformAndRuntimeArchiveName" |
| 795 | + depends="initWorkspace,initProductionProperties,initBuildId, initBuildType, initDownloadHosts, initStreamVariables, initCurrentUpdateSite, initBasicDirectories,initPlatformAndRuntimeArchiveName" |
796 | 796 | unless="testingIsInitialized"> |
797 | 797 |
|
| 798 | + <!-- Make sure the values of os, ws, and arch are set. --> |
| 799 | + <fail |
| 800 | + unless="os" |
| 801 | + message="Value of 'os' not specified. 'os' must be set as system property" /> |
| 802 | + <fail |
| 803 | + unless="ws" |
| 804 | + message="Value of 'ws' not specified. 'ws' must be set as system property" /> |
| 805 | + <fail |
| 806 | + unless="arch" |
| 807 | + message="Value of 'arch' not specified. 'arch' must be set as system property" /> |
| 808 | + |
798 | 809 | <property environment="env" /> |
799 | 810 |
|
800 | 811 | <!-- |
|
1290 | 1301 | basedir="${results}/xml" |
1291 | 1302 | destdir="${results}/html" |
1292 | 1303 | filenameparameter="filename"> |
1293 | | - <factory> |
1294 | | - <feature name="http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions" value="true"/> |
1295 | | - </factory> |
1296 | | - </xslt> |
| 1304 | + <factory> |
| 1305 | + <feature name="http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions" value="true"/> |
| 1306 | + </factory> |
| 1307 | + </xslt> |
1297 | 1308 | </target> |
1298 | 1309 |
|
1299 | 1310 | <target |
|
1325 | 1336 | depends="init"> |
1326 | 1337 | <runTests testPlugin="org.eclipse.equinox.common.tests" /> |
1327 | 1338 | </target> |
1328 | | - |
| 1339 | + |
1329 | 1340 | <target |
1330 | 1341 | name="equinoxds" |
1331 | 1342 | depends="init"> |
|
1343 | 1354 | depends="init"> |
1344 | 1355 | <runTests testPlugin="org.eclipse.core.tests.resources" /> |
1345 | 1356 | </target> |
1346 | | - |
| 1357 | + |
1347 | 1358 | <target |
1348 | 1359 | name="coreresourcessaveparticipant" |
1349 | 1360 | depends="init"> |
|
1404 | 1415 | <runTests testPlugin="org.eclipse.jface.tests.databinding" /> |
1405 | 1416 | </target> |
1406 | 1417 |
|
1407 | | - <target |
| 1418 | + <target |
1408 | 1419 | name="jface" |
1409 | 1420 | depends="init"> |
1410 | 1421 | <runTests testPlugin="org.eclipse.jface.tests" /> |
|
1441 | 1452 | depends="init"> |
1442 | 1453 | <runTests testPlugin="org.eclipse.tips.tests" /> |
1443 | 1454 | </target> |
1444 | | - |
| 1455 | + |
1445 | 1456 | <target |
1446 | 1457 | name="ua" |
1447 | 1458 | depends="init"> |
|
1538 | 1549 | depends="init"> |
1539 | 1550 | <runTests testPlugin="org.eclipse.pde.ui.tests" /> |
1540 | 1551 | </target> |
1541 | | - |
| 1552 | + |
1542 | 1553 | <target |
1543 | 1554 | name="pdeua" |
1544 | 1555 | depends="init"> |
|
1997 | 2008 |
|
1998 | 2009 | </target> |
1999 | 2010 |
|
2000 | | - <!-- |
| 2011 | + <!-- |
2001 | 2012 | admittedly, not quite all of 'platform', but for |
2002 | 2013 | now serves dual purpose of a "short set" of tests, that area |
2003 | 2014 | relatively quick, and relatively reliable on build.eclipse.org hardware |
|
2035 | 2046 | <antcall target="uiforms" /> |
2036 | 2047 | <antcall target="equinoxp2ui" /> |
2037 | 2048 | <antcall target="equinoxsecurity" /> |
2038 | | - <antcall target="equinoxpreferences" /> |
| 2049 | + <antcall target="equinoxpreferences" /> |
2039 | 2050 | <antcall target="search" /> |
2040 | 2051 | <antcall target="debug" /> |
2041 | 2052 | <antcall target="e4Core" /> |
|
2094 | 2105 | <antcall target="pdeds" /> |
2095 | 2106 | <antcall target="pdejunit" /> |
2096 | 2107 | <antcall target="pdeui" /> |
2097 | | - <antcall target="pdeua" /> |
| 2108 | + <antcall target="pdeua" /> |
2098 | 2109 | <antcall target="pdeuitemplates" /> |
2099 | | - <antcall target="pdegenericeditor" /> |
| 2110 | + <antcall target="pdegenericeditor" /> |
2100 | 2111 | </target> |
2101 | 2112 |
|
2102 | 2113 | <target |
|
2115 | 2126 | <antcall target="jdtcoreperf" /> |
2116 | 2127 | <antcall target="jdtcorebuilder" /> |
2117 | 2128 | <antcall target="jdtdebug" /> |
2118 | | - <antcall target="jdtjdi" /> |
| 2129 | + <antcall target="jdtjdi" /> |
2119 | 2130 | <antcall target="jdtapt" /> |
2120 | 2131 | <antcall target="jdtaptpluggable" /> |
2121 | 2132 | </target> |
|
2213 | 2224 | <echoproperties regex="^os\..*$" /> |
2214 | 2225 | </target> |
2215 | 2226 |
|
2216 | | - <!-- |
2217 | | - initOSes is to make sure the values of os, ws, and arch are set. |
2218 | | - We need them to match their "osgi.X" counterparts, so users often will |
2219 | | - need to simply set the "osgi.X" values as system variables, since |
2220 | | - our ability to guess varies from OS to OS and VM to VM ... but, if |
2221 | | - the osgi.X values are not set, we'll take a guess based on common systems. |
2222 | | - --> |
2223 | | - <target name="initOSes"> |
2224 | | - |
2225 | | - <condition |
2226 | | - property="guessed.os" |
2227 | | - value="win32"> |
2228 | | - <os family="windows" /> |
2229 | | - </condition> |
2230 | | - <condition |
2231 | | - property="guessed.os" |
2232 | | - value="macosx"> |
2233 | | - <os family="mac" /> |
2234 | | - </condition> |
2235 | | - <condition |
2236 | | - property="guessed.os" |
2237 | | - value="linux"> |
2238 | | - <or> |
2239 | | - <os family="unix" /> |
2240 | | - </or> |
2241 | | - </condition> |
2242 | | - <!-- if not set above, set to a ridiculous value, that will at least give hint of action to take once it causes a failure --> |
2243 | | - <property |
2244 | | - name="guessed.os" |
2245 | | - value="Value of 'os' could not be determined. 'os' must be set as system variable." /> |
2246 | | - |
2247 | | - <condition |
2248 | | - property="os" |
2249 | | - value="${os}" |
2250 | | - else="${guessed.os}"> |
2251 | | - <isset property="os" /> |
2252 | | - </condition> |
2253 | | - |
2254 | | - <!-- luckily, these days, not multiple windowing systems, for common OSes --> |
2255 | | - <condition |
2256 | | - property="guessed.ws" |
2257 | | - value="win32"> |
2258 | | - <os family="windows" /> |
2259 | | - </condition> |
2260 | | - <condition |
2261 | | - property="guessed.ws" |
2262 | | - value="cocoa"> |
2263 | | - <os family="mac" /> |
2264 | | - </condition> |
2265 | | - <condition |
2266 | | - property="guessed.ws" |
2267 | | - value="gtk"> |
2268 | | - <os family="unix" /> |
2269 | | - </condition> |
2270 | | - <!-- if not set above, set to a ridiculous value, that will at least give hint of action to take once it causes a failure --> |
2271 | | - <property |
2272 | | - name="guessed.ws" |
2273 | | - value="Value of 'ws' could not be determined. 'ws' must be set as system variable." /> |
2274 | | - |
2275 | | - <condition |
2276 | | - property="ws" |
2277 | | - value="${ws}" |
2278 | | - else="${guessed.ws}"> |
2279 | | - <isset property="ws" /> |
2280 | | - </condition> |
2281 | | - |
2282 | | - <!-- not sure this will work well? --> |
2283 | | - <condition |
2284 | | - property="guessed.arch" |
2285 | | - value="x86_64"> |
2286 | | - <or> |
2287 | | - <os arch="x86_64" /> |
2288 | | - <os arch="amd64" /> |
2289 | | - </or> |
2290 | | - </condition> |
2291 | | - <!-- if not set above, set to a ridiculous value, that will at least give hint of action to take once it causes a failure --> |
2292 | | - <property |
2293 | | - name="guessed.ws" |
2294 | | - value="Value of 'arch' could not be determined. 'arch' must be set as system variable." /> |
2295 | | - |
2296 | | - <condition |
2297 | | - property="arch" |
2298 | | - value="${arch}" |
2299 | | - else="${guessed.arch}"> |
2300 | | - <isset property="arch" /> |
2301 | | - </condition> |
2302 | | - |
2303 | | - </target> |
2304 | | - |
2305 | 2227 | <target |
2306 | 2228 | name="test-getJavaMajorVersion" |
2307 | 2229 | depends="debug-allJavaProperties,debug-allOSProperties,getJavaMajorVersion"> |
|
2316 | 2238 | <!-- <antcall target="printMainProperties" /> --> |
2317 | 2239 | </target> |
2318 | 2240 |
|
2319 | | - <target |
2320 | | - name="test-initOSes" |
2321 | | - depends="debug-allProperties,initOSes"> |
2322 | | - <printProperty property="os" /> |
2323 | | - <printProperty property="ws" /> |
2324 | | - <printProperty property="arch" /> |
2325 | | - </target> |
2326 | | - |
2327 | 2241 | <target |
2328 | 2242 | name="test-all" |
2329 | | - depends="init,test-initOSes,test-getJavaMajorVersion"> |
| 2243 | + depends="init,debug-allProperties,test-getJavaMajorVersion"> |
2330 | 2244 | </target> |
2331 | 2245 |
|
2332 | 2246 | <target |
|
0 commit comments