blob: c601cc9146250addb344f67152106b584a269239 [file] [log] [blame]
Stephan Herrmannf80b55d2016-10-31 23:56:48 +01001###############################################################################
Stephan Herrmann423ec262016-11-01 00:11:19 +01002# Copyright (c) 2010, 2016 Stephan Herrmann and others.
Stephan Herrmann35705382020-03-03 21:42:19 +01003# This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License 2.0
Stephan Herrmannf80b55d2016-10-31 23:56:48 +01005# which accompanies this distribution, and is available at
Stephan Herrmann35705382020-03-03 21:42:19 +01006# https://www.eclipse.org/legal/epl-2.0/
7#
8# SPDX-License-Identifier: EPL-2.0
Stephan Herrmannf80b55d2016-10-31 23:56:48 +01009#
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:
17BASEDIR=`pwd`
18
19# EXPORT: root directory for building and testing:
20OT_TESTSUITE_DIR=${BASEDIR}/testrun
21
22# EXPORT: tmp directory for logging:
23TMPDIR="${BASEDIR}/tmp"
24
25# EXPORT: tmp directory for test files:
26#TEST_TMPDIR="${HOME}/tmp"
27TEST_TMPDIR=${JAVA_TMPDIR}
28
29# EXPORT: directory for metadata from previous builds:
30METADATA="${BASEDIR}/metadata"
31
Stephan Herrmanne73f8852016-11-01 00:23:59 +010032# EXPORT:
33FETCH_CACHE_LOCATION=${HOME}/gitCache
34
Stephan Herrmanne8ce6eb2016-11-01 01:01:55 +010035# EXPORT:
36MAP_FILE_PATH=${BASEDIR}/releng/map/otdt.map
37
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010038# Base dir for finding previous platform build:
Stephan Herrmannec8afbe2021-03-03 15:53:26 +010039DROPS4=http://download.eclipse.org/eclipse/downloads/drops4
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010040
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010041# Configure ANT:
Stephan Herrmannf47d1e82020-04-12 20:26:51 +020042ANT_HOME=/shared/common/apache-ant-1.10.5/
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010043PATH=${ANT_HOME}/bin:${PATH}
44
Stephan Herrmann679fdc92017-11-09 23:06:44 +010045# Configure Java:
Stephan Herrmann213a0502019-08-27 22:09:37 +020046JAVA_HOME=${JAVA_HOME:="/shared/common/jdk-9_x64-latest"}
Stephan Herrmann679fdc92017-11-09 23:06:44 +010047PATH=${JAVA_HOME}/bin:${PATH}
48
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010049# EXPORT: additional arguments to pass to Ant:
Stephan Herrmann075eee22017-01-10 18:59:33 +010050ANT_PROFILE="-verbose"
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010051#ANT_PROFILE=""
52
53# EXPORT: Nice-level for the Ant process:
54NICE="10"
55
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010056# Architecture (as used by OSGi):
57ARCH=`arch`
58
Stephan Herrmann5acccae2019-04-13 17:46:35 +020059# VERSIONS:
Stephan Herrmann5acccae2019-04-13 17:46:35 +020060# Eclipse SDK build identifier (used for substitution in otdt.map.in etc.):
Stephan Herrmann1770a2f2021-05-25 10:53:14 +020061SDK_QUALIFIER=${SDK_QUALIFIER:="I20210524-1800"}
Stephan Herrmann5acccae2019-04-13 17:46:35 +020062
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010063# used only locally (components of the ECLIPSE_SDK_TGZ path):
Stephan Herrmann1770a2f2021-05-25 10:53:14 +020064EVERSION=${EVERSION:="I20210524-1800"}
65DROP=${DROPS4}/${DROP:="I20210524-1800"}
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010066
67# EXPORT: archive file of the base eclipse SDK build:
68ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
69
70# EXPORT: archive file of the eclipse test framework:
71ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
72
73# EXPORT: where to find previously published plugins&features:
Stephan Herrmann272efd72019-02-02 13:58:56 +010074PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.7/201812061254
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010075