Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 1 | ############################################################################### |
| 2 | # Copyright (c) 2010 Stephan Herrmann and others. |
Stephan Herrmann | 3570538 | 2020-03-03 21:42:19 +0100 | [diff] [blame] | 3 | # This program and the accompanying materials |
| 4 | # are made available under the terms of the Eclipse Public License 2.0 |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 5 | # which accompanies this distribution, and is available at |
Stephan Herrmann | 3570538 | 2020-03-03 21:42:19 +0100 | [diff] [blame] | 6 | # https://www.eclipse.org/legal/epl-2.0/ |
| 7 | # |
| 8 | # SPDX-License-Identifier: EPL-2.0 |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 9 | # |
| 10 | # Contributors: |
| 11 | # Stephan Herrmann - initial API and implementation |
| 12 | ############################################################################### |
| 13 | |
| 14 | # Environment variables for the script otdt_runtests.sh |
| 15 | |
| 16 | # EXPORT: Root location on build.eclipse.org: |
| 17 | BASEDIR=/shared/tools/objectteams |
| 18 | |
| 19 | # EXPORT: root directory for building and testing: |
| 20 | OT_TESTSUITE_DIR=${BASEDIR}/testrun |
| 21 | |
| 22 | # EXPORT: tmp directory for logging: |
| 23 | TMPDIR="${BASEDIR}/tmp" |
| 24 | |
Stephan Herrmann | 56428e9 | 2013-02-23 12:29:56 +0100 | [diff] [blame] | 25 | # EXPORT: tmp directory for test files: |
Stephan Herrmann | 5d3ba4c | 2013-05-21 15:24:43 +0200 | [diff] [blame] | 26 | #TEST_TMPDIR="${HOME}/tmp" |
| 27 | TEST_TMPDIR="/tmp/objectteams" |
Stephan Herrmann | 56428e9 | 2013-02-23 12:29:56 +0100 | [diff] [blame] | 28 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 29 | # EXPORT: directory for metadata from previous builds: |
Stephan Herrmann | c61d48e | 2010-05-22 16:42:32 +0000 | [diff] [blame] | 30 | METADATA="${BASEDIR}/metadata" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 31 | |
Stephan Herrmann | 358ac0f | 2016-11-01 00:29:19 +0100 | [diff] [blame] | 32 | # EXPORT: |
| 33 | FETCH_CACHE_LOCATION=/shared/tools/objectteams/gitCache |
| 34 | |
Stephan Herrmann | e8ce6eb | 2016-11-01 01:01:55 +0100 | [diff] [blame] | 35 | # EXPORT: |
| 36 | MAP_FILE_PATH=/shared/tools/objectteams/releng/map/otdt.map |
| 37 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 38 | # 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] | 39 | OT_RECIPIENT="nobody@nowhere.net" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 40 | |
| 41 | # Configure ANT: |
| 42 | ANT_HOME=/shared/common/apache-ant-1.7.1/ |
| 43 | PATH=${ANT_HOME}/bin:${PATH} |
| 44 | |
| 45 | # EXPORT: additional arguments to pass to Ant: |
Stephan Herrmann | ce3b760 | 2011-01-27 12:10:25 +0000 | [diff] [blame] | 46 | ANT_PROFILE="-verbose" |
| 47 | #ANT_PROFILE="" |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 48 | |
| 49 | # EXPORT: Nice-level for the Ant process: |
| 50 | NICE="10" |
| 51 | |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 52 | # EXPORT: virtual or real X server (XVFB, XVNC or X11): |
Stephan Herrmann | eacdfde | 2010-08-25 05:58:42 +0000 | [diff] [blame] | 53 | if test `which Xvfb` && test `which xvfb-run` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 54 | X11=XVFB |
Stephan Herrmann | dfdf55a | 2010-05-18 12:57:20 +0000 | [diff] [blame] | 55 | elif test `which Xvnc` &> /dev/null; then |
Stephan Herrmann | 80ce6fa | 2010-05-18 12:16:47 +0000 | [diff] [blame] | 56 | X11=XVNC |
| 57 | else |
| 58 | X11=X11 |
| 59 | fi |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 60 | |
| 61 | # VERSIONS: |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 62 | # Eclipse SDK build identifier (used for substitution in otdt.map.in etc.): |
Stephan Herrmann | ff546c7 | 2017-01-02 22:13:58 +0100 | [diff] [blame] | 63 | SDK_QUALIFIER=I20170101-2000 |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 64 | |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 65 | # Architecture (as used by OSGi): |
Stephan Herrmann | 2d80b94 | 2010-05-17 21:37:04 +0000 | [diff] [blame] | 66 | ARCH=`arch` |
Stephan Herrmann | 042f275 | 2012-05-22 18:52:21 +0200 | [diff] [blame] | 67 | |
Stephan Herrmann | 1cc6525 | 2013-05-20 13:21:57 +0200 | [diff] [blame] | 68 | # used only locally (components of the ECLIPSE_SDK_TGZ path): |
Stephan Herrmann | ff546c7 | 2017-01-02 22:13:58 +0100 | [diff] [blame] | 69 | EVERSION=I20170101-2000 |
| 70 | DROP=${BASEDIR}/drops4/I20170101-2000 |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 71 | |
| 72 | # EXPORT: archive file of the base eclipse SDK build: |
Stephan Herrmann | 5ae5d95 | 2010-05-17 22:08:22 +0000 | [diff] [blame] | 73 | ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 74 | |
| 75 | # EXPORT: archive file of the eclipse test framework: |
Stephan Herrmann | 6e17721 | 2012-04-12 21:00:52 +0200 | [diff] [blame] | 76 | ECLIPSE_TESTLIB_ZIP=${DROP}/eclipse-test-framework-${EVERSION}.zip |
Stephan Herrmann | dcd87c1 | 2010-04-25 10:59:27 +0000 | [diff] [blame] | 77 | |
Stephan Herrmann | 8372dc2 | 2010-06-03 22:41:05 +0000 | [diff] [blame] | 78 | # EXPORT: where to find previously published plugins&features: |
Stephan Herrmann | 5b3dcd9 | 2016-08-02 21:52:12 +0200 | [diff] [blame] | 79 | PUBLISHED_UPDATES=${HOME}/downloads/objectteams/updates/ot2.5 |
Stephan Herrmann | b59f3f0 | 2011-05-15 00:17:51 +0000 | [diff] [blame] | 80 | |