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 | |
Stephan Herrmann | 56428e9 | 2013-02-23 12:29:56 +0100 | [diff] [blame] | 23 | # EXPORT: tmp directory for test files: |
Stephan Herrmann | 5d3ba4c | 2013-05-21 15:24:43 +0200 | [diff] [blame] | 24 | #TEST_TMPDIR="${HOME}/tmp" |
| 25 | TEST_TMPDIR="/tmp/objectteams" |
Stephan Herrmann | 56428e9 | 2013-02-23 12:29:56 +0100 | [diff] [blame] | 26 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 27 | # EXPORT: directory for metadata from previous builds: |
Stephan Herrmann | c61d48e | 2010-05-22 16:42:32 +0000 | [diff] [blame] | 28 | METADATA="${BASEDIR}/metadata" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 29 | |
| 30 | # EXPORT: mail address to receive notification about build result (currently only build failures): |
Stephan Herrmann | b2576d9 | 2013-07-14 17:18:32 +0200 | [diff] [blame] | 31 | OT_RECIPIENT="nobody@nowhere.net" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 32 | |
| 33 | # Configure ANT: |
| 34 | ANT_HOME=/shared/common/apache-ant-1.7.1/ |
| 35 | PATH=${ANT_HOME}/bin:${PATH} |
| 36 | |
| 37 | # EXPORT: additional arguments to pass to Ant: |
Stephan Herrmann | ce3b760 | 2011-01-27 12:10:25 +0000 | [diff] [blame] | 38 | ANT_PROFILE="-verbose" |
| 39 | #ANT_PROFILE="" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 40 | |
| 41 | # EXPORT: Nice-level for the Ant process: |
| 42 | NICE="10" |
| 43 | |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 44 | # EXPORT: virtual or real X server (XVFB, XVNC or X11): |
Stephan Herrmann | eacdfde | 2010-08-25 05:58:42 +0000 | [diff] [blame] | 45 | if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 46 | X11=XVFB |
Stephan Herrmann | dfdf55a | 2010-05-18 12:57:20 +0000 | [diff] [blame] | 47 | elif test `which Xvnc` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 48 | X11=XVNC |
| 49 | else |
| 50 | X11=X11 |
| 51 | fi |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 52 | |
| 53 | # VERSIONS: |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 54 | # Eclipse SDK build identifier (used for substitution in otdt.map.in etc.): |
Stephan Herrmann | 4ea10df | 2014-03-29 15:21:57 +0100 | [diff] [blame] | 55 | SDK_QUALIFIER=I20140325-0830 |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 56 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 57 | # Architecture (as used by OSGi): |
Stephan Herrmann | 2d80b94 | 2010-05-17 21:37:04 +0000 | [diff] [blame] | 58 | ARCH=`arch` |
Stephan Herrmann | 042f275 | 2012-05-22 18:52:21 +0200 | [diff] [blame] | 59 | |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 60 | # used only locally (components of the ECLIPSE_SDK_TGZ path): |
Stephan Herrmann | 4ea10df | 2014-03-29 15:21:57 +0100 | [diff] [blame] | 61 | EVERSION=I20140325-0830 |
| 62 | DROP=${BASEDIR}/drops4/I20140325-0830 |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 63 | |
| 64 | # EXPORT: archive file of the base eclipse SDK build: |
Stephan Herrmann | 5ae5d95 | 2010-05-17 22:08:22 +0000 | [diff] [blame] | 65 | ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 66 | |
| 67 | # EXPORT: archive file of the eclipse test framework: |
Stephan Herrmann | 6e17721 | 2012-04-12 21:00:52 +0200 | [diff] [blame] | 68 | ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 69 | |
Stephan Herrmann | 8372dc2 | 2010-06-03 22:41:05 +0000 | [diff] [blame] | 70 | # EXPORT: where to find previously published plugins&features: |
Stephan Herrmann | 56428e9 | 2013-02-23 12:29:56 +0100 | [diff] [blame] | 71 | PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.2 |
Stephan Herrmann | b59f3f0 | 2011-05-15 00:17:51 +0000 | [diff] [blame] | 72 | |