blob: b92dd030048018ef93b491c8e4d3095ac220eaff [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
30# EXPORT: mail address to receive notification about build result (currently only build failures):
Stephan Herrmannb2576d92013-07-14 17:18:32 +020031OT_RECIPIENT="nobody@nowhere.net"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000032
33# Configure ANT:
34ANT_HOME=/shared/common/apache-ant-1.7.1/
35PATH=${ANT_HOME}/bin:${PATH}
36
37# EXPORT: additional arguments to pass to Ant:
Stephan Herrmannce3b7602011-01-27 12:10:25 +000038ANT_PROFILE="-verbose"
39#ANT_PROFILE=""
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000040
41# EXPORT: Nice-level for the Ant process:
42NICE="10"
43
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000044# EXPORT: virtual or real X server (XVFB, XVNC or X11):
Stephan Herrmanneacdfde2010-08-25 05:58:42 +000045if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000046 X11=XVFB
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000047elif test `which Xvnc` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000048 X11=XVNC
49else
50 X11=X11
51fi
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000052
53# VERSIONS:
Stephan Herrmann1cc65252013-05-20 13:21:57 +020054# Eclipse SDK build identifier (used for substitution in otdt.map.in etc.):
Stephan Herrmann4ea10df2014-03-29 15:21:57 +010055SDK_QUALIFIER=I20140325-0830
Stephan Herrmann1cc65252013-05-20 13:21:57 +020056
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000057# Architecture (as used by OSGi):
Stephan Herrmann2d80b942010-05-17 21:37:04 +000058ARCH=`arch`
Stephan Herrmann042f2752012-05-22 18:52:21 +020059
Stephan Herrmann1cc65252013-05-20 13:21:57 +020060# used only locally (components of the ECLIPSE_SDK_TGZ path):
Stephan Herrmann4ea10df2014-03-29 15:21:57 +010061EVERSION=I20140325-0830
62DROP=${BASEDIR}/drops4/I20140325-0830
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000063
64# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000065ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000066
67# EXPORT: archive file of the eclipse test framework:
Stephan Herrmann6e177212012-04-12 21:00:52 +020068ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000069
Stephan Herrmann8372dc22010-06-03 22:41:05 +000070# EXPORT: where to find previously published plugins&features:
Stephan Herrmann56428e92013-02-23 12:29:56 +010071PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.2
Stephan Herrmannb59f3f02011-05-15 00:17:51 +000072