Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 1 | ############################################################################### |
Stephan Herrmann | 423ec26 | 2016-11-01 00:11:19 +0100 | [diff] [blame] | 2 | # Copyright (c) 2010, 2016 Stephan Herrmann and others. |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 3 | # All rights reserved. This program and the accompanying materials |
| 4 | # are made available under the terms of the Eclipse Public License v1.0 |
| 5 | # which accompanies this distribution, and is available at |
| 6 | # http://www.eclipse.org/legal/epl-v10.html |
| 7 | # |
| 8 | # Contributors: |
| 9 | # Stephan Herrmann - initial API and implementation |
| 10 | ############################################################################### |
| 11 | |
| 12 | # Environment variables for the script otdt_runtests.sh |
| 13 | |
| 14 | # EXPORT: Root location on build.eclipse.org: |
| 15 | BASEDIR=`pwd` |
| 16 | |
| 17 | # EXPORT: root directory for building and testing: |
| 18 | OT_TESTSUITE_DIR=${BASEDIR}/testrun |
| 19 | |
| 20 | # EXPORT: tmp directory for logging: |
| 21 | TMPDIR="${BASEDIR}/tmp" |
| 22 | |
| 23 | # EXPORT: tmp directory for test files: |
| 24 | #TEST_TMPDIR="${HOME}/tmp" |
| 25 | TEST_TMPDIR=${JAVA_TMPDIR} |
| 26 | |
| 27 | # EXPORT: directory for metadata from previous builds: |
| 28 | METADATA="${BASEDIR}/metadata" |
| 29 | |
Stephan Herrmann | e73f885 | 2016-11-01 00:23:59 +0100 | [diff] [blame] | 30 | # EXPORT: |
| 31 | FETCH_CACHE_LOCATION=${HOME}/gitCache |
| 32 | |
Stephan Herrmann | e8ce6eb | 2016-11-01 01:01:55 +0100 | [diff] [blame] | 33 | # EXPORT: |
| 34 | MAP_FILE_PATH=${BASEDIR}/releng/map/otdt.map |
| 35 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 36 | # Base dir for finding previous platform build: |
| 37 | DROPS4=/home/data/httpd/download.eclipse.org/eclipse/downloads/drops4 |
| 38 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 39 | # Configure ANT: |
| 40 | ANT_HOME=/shared/common/apache-ant-1.7.1/ |
| 41 | PATH=${ANT_HOME}/bin:${PATH} |
| 42 | |
Stephan Herrmann | 679fdc9 | 2017-11-09 23:06:44 +0100 | [diff] [blame] | 43 | # Configure Java: |
| 44 | JAVA_HOME=/shared/common/jdk-9_x64-latest |
| 45 | PATH=${JAVA_HOME}/bin:${PATH} |
| 46 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 47 | # EXPORT: additional arguments to pass to Ant: |
Stephan Herrmann | 075eee2 | 2017-01-10 18:59:33 +0100 | [diff] [blame] | 48 | ANT_PROFILE="-verbose" |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 49 | #ANT_PROFILE="" |
| 50 | |
| 51 | # EXPORT: Nice-level for the Ant process: |
| 52 | NICE="10" |
| 53 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 54 | # VERSIONS: |
| 55 | # Eclipse SDK build identifier (used for substitution in otdt.map.in etc.): |
Stephan Herrmann | c47cf7c | 2017-12-05 21:53:32 +0100 | [diff] [blame^] | 56 | SDK_QUALIFIER=${SDK_QUALIFIER:="I20171205-0800"} |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 57 | |
| 58 | # Architecture (as used by OSGi): |
| 59 | ARCH=`arch` |
| 60 | |
| 61 | # used only locally (components of the ECLIPSE_SDK_TGZ path): |
Stephan Herrmann | c47cf7c | 2017-12-05 21:53:32 +0100 | [diff] [blame^] | 62 | EVERSION=${EVERSION:="I20171205-0800"} |
| 63 | DROP=${DROPS4}/${DROP:="I20171205-0800/"} |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 64 | |
| 65 | # EXPORT: archive file of the base eclipse SDK build: |
| 66 | ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz |
| 67 | |
| 68 | # EXPORT: archive file of the eclipse test framework: |
| 69 | ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip |
| 70 | |
| 71 | # EXPORT: where to find previously published plugins&features: |
Stephan Herrmann | c47cf7c | 2017-12-05 21:53:32 +0100 | [diff] [blame^] | 72 | PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.6 |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 73 | |