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