Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-02-06 13:59:20 -0500
committerDavid Williams2013-02-06 13:59:20 -0500
commitb25b2d72ba6b3ee4b0c6a8c9954dc0d3603e66a4 (patch)
tree0b84291a93313ffc5a419c6d7d97831736947199 /production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh
parent90b30190912c1c63f37cfb9e3fef040bc38d6a3c (diff)
downloadeclipse.platform.releng.aggregator-b25b2d72ba6b3ee4b0c6a8c9954dc0d3603e66a4.tar.gz
eclipse.platform.releng.aggregator-b25b2d72ba6b3ee4b0c6a8c9954dc0d3603e66a4.tar.xz
eclipse.platform.releng.aggregator-b25b2d72ba6b3ee4b0c6a8c9954dc0d3603e66a4.zip
Bug 394293 - [CBI] launch the tests (initial copy of some files we use
in PDE Unit test running and summaries)
Diffstat (limited to 'production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh')
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh39
1 files changed, 39 insertions, 0 deletions
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh
new file mode 100644
index 00000000..1de0a032
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+ulimit -c unlimited
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource
+
+echo "PWD: $PWD"
+vmcmd=${vmcmd:-/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java}
+
+
+# production machine is x86_64, but some local setups may be 32 bit and will need to provide
+# this value in localTestsProperties.shsource.
+eclipseArch=${eclipseArch:-x86}
+
+# vm.properties is used by default on production machines, but will
+# need to override on local setups to specify appropriate vm (usually same as vmcmd).
+# see bug 388269
+propertyFile=${propertyFile:-vm.properties}
+
+echo "vmcmd in testAll: ${vmcmd}"
+echo "extdir in testAll (if any): ${extdir}"
+echo "propertyFile in testAll: ${propertyFile}"
+
+#execute command to run tests
+/bin/chmod 755 runtestsmac.sh
+/bin/mkdir -p results/consolelogs
+
+if [[ -n "${extdir}" ]]
+then
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -extdirprop "${extdir}" -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_5.0_consolelog.txt
+else
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_5.0_consolelog.txt
+fi

Back to the top