blob: d32ac8529b28c6968670e30bf07706658c85946e [file] [log] [blame]
Stephan Herrmanndcd87c12010-04-25 10:59:27 +00001###############################################################################
2# Copyright (c) 2010 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 Herrmanndcd87c12010-04-25 10:59:27 +00005# 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 Herrmanndcd87c12010-04-25 10:59:27 +00009#
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=/shared/tools/objectteams
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
Stephan Herrmann56428e92013-02-23 12:29:56 +010025# EXPORT: tmp directory for test files:
Stephan Herrmann5d3ba4c2013-05-21 15:24:43 +020026#TEST_TMPDIR="${HOME}/tmp"
27TEST_TMPDIR="/tmp/objectteams"
Stephan Herrmann56428e92013-02-23 12:29:56 +010028
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000029# EXPORT: directory for metadata from previous builds:
Stephan Herrmannc61d48e2010-05-22 16:42:32 +000030METADATA="${BASEDIR}/metadata"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000031
Stephan Herrmann358ac0f2016-11-01 00:29:19 +010032# EXPORT:
33FETCH_CACHE_LOCATION=/shared/tools/objectteams/gitCache
34
Stephan Herrmanne8ce6eb2016-11-01 01:01:55 +010035# EXPORT:
36MAP_FILE_PATH=/shared/tools/objectteams/releng/map/otdt.map
37
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000038# EXPORT: mail address to receive notification about build result (currently only build failures):
Stephan Herrmannb2576d92013-07-14 17:18:32 +020039OT_RECIPIENT="nobody@nowhere.net"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000040
41# Configure ANT:
42ANT_HOME=/shared/common/apache-ant-1.7.1/
43PATH=${ANT_HOME}/bin:${PATH}
44
45# EXPORT: additional arguments to pass to Ant:
Stephan Herrmannce3b7602011-01-27 12:10:25 +000046ANT_PROFILE="-verbose"
47#ANT_PROFILE=""
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000048
49# EXPORT: Nice-level for the Ant process:
50NICE="10"
51
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000052# EXPORT: virtual or real X server (XVFB, XVNC or X11):
Stephan Herrmanneacdfde2010-08-25 05:58:42 +000053if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000054 X11=XVFB
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000055elif test `which Xvnc` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000056 X11=XVNC
57else
58 X11=X11
59fi
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000060
61# VERSIONS:
Stephan Herrmann1cc65252013-05-20 13:21:57 +020062# Eclipse SDK build identifier (used for substitution in otdt.map.in etc.):
Stephan Herrmannff546c72017-01-02 22:13:58 +010063SDK_QUALIFIER=I20170101-2000
Stephan Herrmann1cc65252013-05-20 13:21:57 +020064
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000065# Architecture (as used by OSGi):
Stephan Herrmann2d80b942010-05-17 21:37:04 +000066ARCH=`arch`
Stephan Herrmann042f2752012-05-22 18:52:21 +020067
Stephan Herrmann1cc65252013-05-20 13:21:57 +020068# used only locally (components of the ECLIPSE_SDK_TGZ path):
Stephan Herrmannff546c72017-01-02 22:13:58 +010069EVERSION=I20170101-2000
70DROP=${BASEDIR}/drops4/I20170101-2000
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000071
72# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000073ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000074
75# EXPORT: archive file of the eclipse test framework:
Stephan Herrmann6e177212012-04-12 21:00:52 +020076ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000077
Stephan Herrmann8372dc22010-06-03 22:41:05 +000078# EXPORT: where to find previously published plugins&features:
Stephan Herrmann5b3dcd92016-08-02 21:52:12 +020079PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.5
Stephan Herrmannb59f3f02011-05-15 00:17:51 +000080