Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 1 | ############################################################################### |
| 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: |
| 15 | BASEDIR=/shared/tools/objectteams |
| 16 | |
| 17 | # EXPORT: root directory for building and testing: |
| 18 | OT_TESTSUITE_DIR=${BASEDIR}/testrun |
| 19 | |
| 20 | # EXPORT: tmp directory for logging: |
| 21 | TMPDIR="${BASEDIR}/tmp" |
| 22 | |
| 23 | # EXPORT: directory for metadata from previous builds: |
Stephan Herrmann | c61d48e | 2010-05-22 16:42:32 +0000 | [diff] [blame] | 24 | METADATA="${BASEDIR}/metadata" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 25 | |
| 26 | # EXPORT: mail address to receive notification about build result (currently only build failures): |
| 27 | OT_RECIPIENT="stephan@cs.tu-berlin.de" |
| 28 | |
| 29 | # Configure ANT: |
| 30 | ANT_HOME=/shared/common/apache-ant-1.7.1/ |
| 31 | PATH=${ANT_HOME}/bin:${PATH} |
| 32 | |
| 33 | # EXPORT: additional arguments to pass to Ant: |
Stephan Herrmann | ce3b760 | 2011-01-27 12:10:25 +0000 | [diff] [blame] | 34 | ANT_PROFILE="-verbose" |
| 35 | #ANT_PROFILE="" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 36 | |
| 37 | # EXPORT: Nice-level for the Ant process: |
| 38 | NICE="10" |
| 39 | |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 40 | # EXPORT: virtual or real X server (XVFB, XVNC or X11): |
Stephan Herrmann | eacdfde | 2010-08-25 05:58:42 +0000 | [diff] [blame] | 41 | if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 42 | X11=XVFB |
Stephan Herrmann | dfdf55a | 2010-05-18 12:57:20 +0000 | [diff] [blame] | 43 | elif test `which Xvnc` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 44 | X11=XVNC |
| 45 | else |
| 46 | X11=X11 |
| 47 | fi |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 48 | |
| 49 | # VERSIONS: |
Stephan Herrmann | b4b31f5 | 2012-06-08 23:58:24 +0200 | [diff] [blame] | 50 | # Eclipse SDK build identifier: |
Stephan Herrmann | 9ec319c | 2012-12-16 20:15:22 +0100 | [diff] [blame] | 51 | EVERSION=4.3M4 |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 52 | # Architecture (as used by OSGi): |
Stephan Herrmann | 2d80b94 | 2010-05-17 21:37:04 +0000 | [diff] [blame] | 53 | ARCH=`arch` |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 54 | # used only locally: |
Stephan Herrmann | 9ec319c | 2012-12-16 20:15:22 +0100 | [diff] [blame] | 55 | DROP=${BASEDIR}/drops4/S-4.3M4-201212140730 |
Stephan Herrmann | 042f275 | 2012-05-22 18:52:21 +0200 | [diff] [blame] | 56 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 57 | |
| 58 | # EXPORT: archive file of the base eclipse SDK build: |
Stephan Herrmann | 5ae5d95 | 2010-05-17 22:08:22 +0000 | [diff] [blame] | 59 | ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 60 | |
| 61 | # EXPORT: archive file of the eclipse test framework: |
Stephan Herrmann | 6e17721 | 2012-04-12 21:00:52 +0200 | [diff] [blame] | 62 | ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 63 | |
Stephan Herrmann | 8372dc2 | 2010-06-03 22:41:05 +0000 | [diff] [blame] | 64 | # EXPORT: where to find previously published plugins&features: |
Stephan Herrmann | a2c83a5 | 2012-09-22 00:07:54 +0200 | [diff] [blame] | 65 | PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.1 |
Stephan Herrmann | b59f3f0 | 2011-05-15 00:17:51 +0000 | [diff] [blame] | 66 | |