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 | |
| 39 | # EXPORT: mail address to receive notification about build result (currently only build failures): |
| 40 | OT_RECIPIENT="nobody@nowhere.net" |
| 41 | |
| 42 | # Configure ANT: |
| 43 | ANT_HOME=/shared/common/apache-ant-1.7.1/ |
| 44 | PATH=${ANT_HOME}/bin:${PATH} |
| 45 | |
Stephan Herrmann | 679fdc9 | 2017-11-09 23:06:44 +0100 | [diff] [blame^] | 46 | # Configure Java: |
| 47 | JAVA_HOME=/shared/common/jdk-9_x64-latest |
| 48 | PATH=${JAVA_HOME}/bin:${PATH} |
| 49 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 50 | # EXPORT: additional arguments to pass to Ant: |
Stephan Herrmann | 075eee2 | 2017-01-10 18:59:33 +0100 | [diff] [blame] | 51 | ANT_PROFILE="-verbose" |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 52 | #ANT_PROFILE="" |
| 53 | |
| 54 | # EXPORT: Nice-level for the Ant process: |
| 55 | NICE="10" |
| 56 | |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 57 | # VERSIONS: |
| 58 | # Eclipse SDK build identifier (used for substitution in otdt.map.in etc.): |
Stephan Herrmann | 49574b8 | 2017-10-17 23:41:07 +0200 | [diff] [blame] | 59 | SDK_QUALIFIER=${SDK_QUALIFIER:="M20171009-0410"} |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 60 | |
| 61 | # Architecture (as used by OSGi): |
| 62 | ARCH=`arch` |
| 63 | |
| 64 | # used only locally (components of the ECLIPSE_SDK_TGZ path): |
Stephan Herrmann | 5f11904 | 2017-10-17 23:31:00 +0200 | [diff] [blame] | 65 | EVERSION=${EVERSION:="4.7.1a"} |
| 66 | DROP=${DROPS4}/${DROP:="R-4.7.1a-201710090410/"} |
Stephan Herrmann | f80b55d | 2016-10-31 23:56:48 +0100 | [diff] [blame] | 67 | |
| 68 | # EXPORT: archive file of the base eclipse SDK build: |
| 69 | ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz |
| 70 | |
| 71 | # EXPORT: archive file of the eclipse test framework: |
| 72 | ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip |
| 73 | |
| 74 | # EXPORT: where to find previously published plugins&features: |
| 75 | PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.5 |
| 76 | |