blob: da760f23bd7eeb1d62459c08191f2a15afa4a132 [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:
50# Eclipse SKD build identifier:
Stephan Herrmann37d869a2011-12-16 23:48:02 +010051EVERSION=I20111209-1447
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 Herrmann37d869a2011-12-16 23:48:02 +010055DROP=${BASEDIR}/drops/I20111209-1447
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000056
57# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000058ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000059
60# EXPORT: archive file of the eclipse test framework:
61ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
62
Stephan Herrmann8372dc22010-06-03 22:41:05 +000063# EXPORT: where to find previously published plugins&features:
Stephan Herrmannb59f3f02011-05-15 00:17:51 +000064PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.0
65