blob: 18ec3918188abfc786aad3c6fffe869a6cc28845 [file] [log] [blame]
Stephan Herrmanndcd87c12010-04-25 10:59:27 +00001###############################################################################
2# Copyright (c) 2010 Stephan Herrmann and others.
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:
15BASEDIR=/shared/tools/objectteams
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
Stephan Herrmann56428e92013-02-23 12:29:56 +010023# EXPORT: tmp directory for test files:
Stephan Herrmann5d3ba4c2013-05-21 15:24:43 +020024#TEST_TMPDIR="${HOME}/tmp"
25TEST_TMPDIR="/tmp/objectteams"
Stephan Herrmann56428e92013-02-23 12:29:56 +010026
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000027# EXPORT: directory for metadata from previous builds:
Stephan Herrmannc61d48e2010-05-22 16:42:32 +000028METADATA="${BASEDIR}/metadata"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000029
Stephan Herrmann358ac0f2016-11-01 00:29:19 +010030# EXPORT:
31FETCH_CACHE_LOCATION=/shared/tools/objectteams/gitCache
32
Stephan Herrmanne8ce6eb2016-11-01 01:01:55 +010033# EXPORT:
34MAP_FILE_PATH=/shared/tools/objectteams/releng/map/otdt.map
35
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000036# EXPORT: mail address to receive notification about build result (currently only build failures):
Stephan Herrmannb2576d92013-07-14 17:18:32 +020037OT_RECIPIENT="nobody@nowhere.net"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000038
39# Configure ANT:
40ANT_HOME=/shared/common/apache-ant-1.7.1/
41PATH=${ANT_HOME}/bin:${PATH}
42
43# EXPORT: additional arguments to pass to Ant:
Stephan Herrmannce3b7602011-01-27 12:10:25 +000044ANT_PROFILE="-verbose"
45#ANT_PROFILE=""
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000046
47# EXPORT: Nice-level for the Ant process:
48NICE="10"
49
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000050# EXPORT: virtual or real X server (XVFB, XVNC or X11):
Stephan Herrmanneacdfde2010-08-25 05:58:42 +000051if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000052 X11=XVFB
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000053elif test `which Xvnc` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000054 X11=XVNC
55else
56 X11=X11
57fi
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000058
59# VERSIONS:
Stephan Herrmann1cc65252013-05-20 13:21:57 +020060# Eclipse SDK build identifier (used for substitution in otdt.map.in etc.):
Stephan Herrmannff546c72017-01-02 22:13:58 +010061SDK_QUALIFIER=I20170101-2000
Stephan Herrmann1cc65252013-05-20 13:21:57 +020062
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000063# Architecture (as used by OSGi):
Stephan Herrmann2d80b942010-05-17 21:37:04 +000064ARCH=`arch`
Stephan Herrmann042f2752012-05-22 18:52:21 +020065
Stephan Herrmann1cc65252013-05-20 13:21:57 +020066# used only locally (components of the ECLIPSE_SDK_TGZ path):
Stephan Herrmannff546c72017-01-02 22:13:58 +010067EVERSION=I20170101-2000
68DROP=${BASEDIR}/drops4/I20170101-2000
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000069
70# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000071ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000072
73# EXPORT: archive file of the eclipse test framework:
Stephan Herrmann6e177212012-04-12 21:00:52 +020074ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000075
Stephan Herrmann8372dc22010-06-03 22:41:05 +000076# EXPORT: where to find previously published plugins&features:
Stephan Herrmann5b3dcd92016-08-02 21:52:12 +020077PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.5
Stephan Herrmannb59f3f02011-05-15 00:17:51 +000078