blob: 41fd4e0775d3c0db48101b7a4efd7fa8f1a592e1 [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 Herrmanneacdfde2010-08-25 05:58:42 +000034#ANT_PROFILE="-verbose"
35ANT_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 Herrmann05564b82010-09-25 20:00:45 +000051EVERSION=3.7M2a
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 Herrmann05564b82010-09-25 20:00:45 +000055DROP=${BASEDIR}/drops/S-3.7M2a-201009211024
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 Herrmann67cbf1c2010-09-26 09:59:15 +000064PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot0.7