blob: 9e6df71862505cca807172328f09df0e3bb9f6c2 [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 Herrmannf80b55d2016-10-31 23:56:48 +01003# 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:
15BASEDIR=`pwd`
16
17# EXPORT: root directory for building and testing:
18OT_TESTSUITE_DIR=${BASEDIR}/testrun
19
20# EXPORT: tmp directory for logging:
21TMPDIR="${BASEDIR}/tmp"
22
23# EXPORT: tmp directory for test files:
24#TEST_TMPDIR="${HOME}/tmp"
25TEST_TMPDIR=${JAVA_TMPDIR}
26
27# EXPORT: directory for metadata from previous builds:
28METADATA="${BASEDIR}/metadata"
29
Stephan Herrmanne73f8852016-11-01 00:23:59 +010030# EXPORT:
31FETCH_CACHE_LOCATION=${HOME}/gitCache
32
Stephan Herrmanne8ce6eb2016-11-01 01:01:55 +010033# EXPORT:
34MAP_FILE_PATH=${BASEDIR}/releng/map/otdt.map
35
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010036# Base dir for finding previous platform build:
37DROPS4=/home/data/httpd/download.eclipse.org/eclipse/downloads/drops4
38
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010039# Configure ANT:
40ANT_HOME=/shared/common/apache-ant-1.7.1/
41PATH=${ANT_HOME}/bin:${PATH}
42
Stephan Herrmann679fdc92017-11-09 23:06:44 +010043# Configure Java:
Stephan Herrmann42d6d1d2018-10-18 01:18:12 +020044JAVA_HOME=/shared/common/jdk-9_x64-latest
Stephan Herrmann679fdc92017-11-09 23:06:44 +010045PATH=${JAVA_HOME}/bin:${PATH}
46
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010047# EXPORT: additional arguments to pass to Ant:
Stephan Herrmann075eee22017-01-10 18:59:33 +010048ANT_PROFILE="-verbose"
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010049#ANT_PROFILE=""
50
51# EXPORT: Nice-level for the Ant process:
52NICE="10"
53
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010054# VERSIONS:
55# Eclipse SDK build identifier (used for substitution in otdt.map.in etc.):
Stephan Herrmann272efd72019-02-02 13:58:56 +010056SDK_QUALIFIER=${SDK_QUALIFIER:="I20190131-0130"}
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010057
58# Architecture (as used by OSGi):
59ARCH=`arch`
60
61# used only locally (components of the ECLIPSE_SDK_TGZ path):
Stephan Herrmann272efd72019-02-02 13:58:56 +010062EVERSION=${EVERSION:="I20190131-0130"}
63DROP=${DROPS4}/${DROP:="I20190131-0130"}
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010064
65# EXPORT: archive file of the base eclipse SDK build:
66ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
67
68# EXPORT: archive file of the eclipse test framework:
69ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
70
71# EXPORT: where to find previously published plugins&features:
Stephan Herrmann272efd72019-02-02 13:58:56 +010072PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.7/201812061254
Stephan Herrmannf80b55d2016-10-31 23:56:48 +010073