| #!/usr/bin/env bash |
| |
| # On production machine, it is normal to "not find" this file when running. |
| # All variables that might be defined in it have correct values set for the production |
| # machine. Its purpose is if/when running on a test machine, the variables can be over ridden |
| # easily in that one file, and leave original scripts alone. |
| source aggr_properties.shsource |
| |
| # These first few variables commonly need to overridden on test machines, they |
| # are very specific per machine. |
| # the top directory of build-related directories |
| export BUILD_HOME=${BUILD_HOME:-/shared/indigo} |
| export JAVA_HOME=${JAVA_HOME:-/shared/webtools/apps/ibm-java-sdk-6.0-8.1-linux-i386} |
| |
| # These remaining variable should not need to be overriddent, as they |
| # are relatively constant, or computed from others. |
| export RELENG_TESTS=${RELENG_TESTS:-org.eclipse.indigo.tests} |
| export JAVA_EXEC_DIR=${JAVA_EXEC_DIR:-${JAVA_HOME}/jre/bin} |
| export BUILD_TESTS_DIR=${BUILD_TESTS_DIR:-${BUILD_HOME}/${RELENG_TESTS}} |
| export ECLIPSE_HOME_TEST=${ECLIPSE_HOME_TEST:-${BUILD_HOME}/testInstance/eclipse} |
| |
| "${ECLIPSE_HOME_TEST}"/eclipse -consolelog -data ./eclipseWorkspace -nosplash --launcher.suppressErrors -vm "${JAVA_EXEC_DIR}" -application org.eclipse.ant.core.antRunner -f ${BUILD_TESTS_DIR}/runTests.xml "$@" |