Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2075c1af01e2fa08aed6aa7f9e9613ec7f80203f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<%!
/*  Copyright 2008 IBM Corp.  All rights reserved.  This source code is made available under the terms of the Eclipse Public License, v1.0. */
%>
#which (sub)project?
project=<c:get select="$build/@shortName"/>

#target to call in test.xml:  runtests-local | runtests-remote
testTarget=runtests-local

#directory on test machine where automated testing framework will be installed
testDir=${testBase}/${buildLabel}

#name of zip file containing automated testing framework and JUnit test plug-ins
testFramework=<c:get select="$build/@parentProjectName"/>-${project}-automated-tests-<c:get select="$build/@incubationTag"/>${buildAlias}.zip

#directory where test scripts are launched
executionDir=${testDir}/testing

#name of runtime to install and test
runtime=<c:get select="$build/@parentProjectName"/>-${project}-SDK-<c:get select="$build/@incubationTag"/>${buildAlias}.zip

# leave this blank and it will be generated by genBuildDetails.sh 
javaHome=%%JAVA_HOME%%
vmExecutable=${javaHome}/bin/java

#hack to override unneeded function in releng.basebuilder/plugins/org.eclipse.build.tools/scripts/test.xml
vmUrl=
vmDest=/dev/null
vmInstallExecutable=${vmExecutable}
vmInstallCommand=-version

#eclipse platforms:  win32 | linux.motif | linux.gtk | aix.motif | hpux.motif |solaris.motif
platform=${baseos}.${basews}

#name of file that captures console output from running JUnit plug-in tests
consolelog=${baseos}.${basews}_consolelog.txt

#Works with IBM and Sun JDKs, 1.4+
#name of script to execute
testExecutable=bash

#arguments to $(testExecutable) - .sh script + args
args=${executionDir}/${shell} -vmExecutable ${vmExecutable} -consolelog ${consolelog} ${Xflags} ${Dflags} 

#TODO: set vm-specific flags
#Xflags=-Xms64M -Xmx192M
Xflags=-Xms256M -Xmx256M
Dflags=

Back to the top