Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2015-03-16 03:19:14 +0000
committerDavid Williams2015-03-16 03:19:27 +0000
commitf35adbc10e00e8206415313d6014938db637a3d1 (patch)
tree42938b866e44940ebfaf4809b3a5e29522f8dc63 /production/testScripts/runTests2.xml
parent1745f77ea9132e0cd720fce88a2766cda62bb2a1 (diff)
downloadeclipse.platform.releng.aggregator-f35adbc10e00e8206415313d6014938db637a3d1.tar.gz
eclipse.platform.releng.aggregator-f35adbc10e00e8206415313d6014938db637a3d1.tar.xz
eclipse.platform.releng.aggregator-f35adbc10e00e8206415313d6014938db637a3d1.zip
Bug 461678 - Modify JUnit test framework to work with "Mac App" form
two of the three files from patch, with embellishment. test.xml would not apply, for some reason.
Diffstat (limited to 'production/testScripts/runTests2.xml')
-rw-r--r--production/testScripts/runTests2.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/production/testScripts/runTests2.xml b/production/testScripts/runTests2.xml
index 0078c08b..542c9aee 100644
--- a/production/testScripts/runTests2.xml
+++ b/production/testScripts/runTests2.xml
@@ -870,9 +870,12 @@
<!-- The root of the eclipse installation -->
- <property
- name="eclipse-home"
- value="${install}/eclipse" />
+ <!-- TODO should have another variable, or computation, know if we should check this,
+ or also handle tradtional layout, and use "eclipse' folder.
+ -->
+ <condition property="eclipse-home" value="${install}/Eclipse.app/Contents/Eclipse" else="${install}/eclipse">
+ <os family="mac"/>
+ </condition>
<mkdir dir="${eclipse-home}" />
<echo message="eclipse-home: ${eclipse-home}" />

Back to the top