blob: 61ccc7af51577e0b4fa33a4026013aafc3880f69 [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
23# EXPORT: directory for metadata from previous builds:
Stephan Herrmannc61d48e2010-05-22 16:42:32 +000024METADATA="${BASEDIR}/metadata"
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000025
26# EXPORT: mail address to receive notification about build result (currently only build failures):
27OT_RECIPIENT="stephan@cs.tu-berlin.de"
28
29# Configure ANT:
30ANT_HOME=/shared/common/apache-ant-1.7.1/
31PATH=${ANT_HOME}/bin:${PATH}
32
33# EXPORT: additional arguments to pass to Ant:
Stephan Herrmannce3b7602011-01-27 12:10:25 +000034ANT_PROFILE="-verbose"
35#ANT_PROFILE=""
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000036
37# EXPORT: Nice-level for the Ant process:
38NICE="10"
39
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000040# EXPORT: virtual or real X server (XVFB, XVNC or X11):
Stephan Herrmanneacdfde2010-08-25 05:58:42 +000041if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000042 X11=XVFB
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000043elif test `which Xvnc` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000044 X11=XVNC
45else
46 X11=X11
47fi
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000048
49# VERSIONS:
Stephan Herrmannb4b31f52012-06-08 23:58:24 +020050# Eclipse SDK build identifier:
Stephan Herrmannc1bda662012-11-06 15:38:01 +010051EVERSION=4.3M3
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000052# Architecture (as used by OSGi):
Stephan Herrmann2d80b942010-05-17 21:37:04 +000053ARCH=`arch`
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000054# used only locally:
Stephan Herrmann0963b522012-11-06 15:32:25 +010055DROP=${BASEDIR}/drops4/S-4.3M3-201210312000
Stephan Herrmann042f2752012-05-22 18:52:21 +020056
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000057
58# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000059ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000060
61# EXPORT: archive file of the eclipse test framework:
Stephan Herrmann6e177212012-04-12 21:00:52 +020062ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000063
Stephan Herrmann8372dc22010-06-03 22:41:05 +000064# EXPORT: where to find previously published plugins&features:
Stephan Herrmanna2c83a52012-09-22 00:07:54 +020065PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.1
Stephan Herrmannb59f3f02011-05-15 00:17:51 +000066