Author: mickael_istria
Date: 2012-05-15 07:13:13 -0400 (Tue, 15 May 2012)
New Revision: 41020
Modified:
workspace/mistria/install-tests/scripts/testInstall.sh
Log:
Fix for productName
Modified: workspace/mistria/install-tests/scripts/testInstall.sh
===================================================================
--- workspace/mistria/install-tests/scripts/testInstall.sh 2012-05-15 11:04:32 UTC (rev
41019)
+++ workspace/mistria/install-tests/scripts/testInstall.sh 2012-05-15 11:13:13 UTC (rev
41020)
@@ -27,7 +27,14 @@
exit 3
fi
+
+
echo "Preparing tests, installing framework"
+iniFile=$(ls -1 *.ini)
+productLineNumber=$(cat $iniFile | grep -n \\-product | cut -f 1 -d :)
+let "productLineNumber = $productLineNumber + 1"
+productName=$(sed -n ${productLineNumber}p $iniFile)
+
#install test framework
pushd $eclipse_home
java -jar plugins/org.eclipse.equinox.launcher_*.jar \
@@ -46,7 +53,7 @@
-jar plugins/org.eclipse.equinox.launcher_*.jar \
-application org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication \
-testApplication org.eclipse.ui.ide.workbench \
- -product org.eclipse.sdk.ide \
+ -product $productName \
-data workspace/ \
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,$report
\
formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter \
Show replies by date