blob: c7af19b938cf3ef7b88f75b575c36b4bb04dde6d [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:
34ANT_PROFILE="-verbose"
35
36# EXPORT: Nice-level for the Ant process:
37NICE="10"
38
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000039# EXPORT: virtual or real X server (XVFB, XVNC or X11):
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000040if test `which Xvfb` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000041 X11=XVFB
Stephan Herrmanndfdf55a2010-05-18 12:57:20 +000042elif test `which Xvnc` &> /dev/null; then
Stephan Herrmann80ce6fa2010-05-18 12:16:47 +000043 X11=XVNC
44else
45 X11=X11
46fi
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000047
48# VERSIONS:
49# Eclipse SKD build identifier:
Stephan Herrmann98c0a462010-05-30 17:36:50 +000050EVERSION=3.6RC3
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000051# Architecture (as used by OSGi):
Stephan Herrmann2d80b942010-05-17 21:37:04 +000052ARCH=`arch`
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000053# used only locally:
Stephan Herrmann98c0a462010-05-30 17:36:50 +000054DROP=${BASEDIR}/drops/S-3.6RC3-201005271700
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000055
56# EXPORT: archive file of the base eclipse SDK build:
Stephan Herrmann5ae5d952010-05-17 22:08:22 +000057ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000058
59# EXPORT: archive file of the eclipse test framework:
60ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip
61
Stephan Herrmanndcd87c12010-04-25 10:59:27 +000062# EXPORT: directory holding various otre jar files:
63OTRE_LIB=${BASEDIR}/lib
64
65
66