###############################################################################
# Copyright (c) 2005, 2008 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     IBM Corporation - initial API and implementation
# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng
###############################################################################
#which (sub)project?
project=rse

#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=RSE-automated-tests-${buildAlias}.zip

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

#name of runtime to install and test
runtime=RSE-SDK-${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=

