blob: 924acc2e58b732162ec4e5a504d5a2cf264d6d61 [file] [log] [blame]
#! /bin/sh
# Set properties below
runnerPath=/path/to/runner
autPath=/path/to/aut
project=.
# properties below configure all intermediate and result files
# to be put in "results" folder next to a project folder. If
# that's ok, you can leave them as is
testResults=$project/../results
runnerWorkspace=$testResults/runner-workspace
autWorkspace=$testResults/aut-workspace-
autOut=$testResults/aut-out-
junitReport=$testResults/results.xml
htmlReport=$testResults/results.html
rm -rf $testResults
mkdir $testResults
java -jar $runnerPath/plugins/org.eclipse.equinox.launcher_1.5.*.jar \
-application org.eclipse.rcptt.runner.headless \
-data $runnerWorkspace \
-aut $autPath \
-autWsPrefix $autWorkspace \
-autConsolePrefix $autOut \
-htmlReport $htmlReport \
-junitReport $junitReport \
-import $project