diff options
Diffstat (limited to 'releng')
-rw-r--r-- | releng/build-scripts/build/otdt_prerequisites-hipp.sh | 6 | ||||
-rwxr-xr-x | releng/build-scripts/build/otdt_runtests-hipp.sh | 41 |
2 files changed, 17 insertions, 30 deletions
diff --git a/releng/build-scripts/build/otdt_prerequisites-hipp.sh b/releng/build-scripts/build/otdt_prerequisites-hipp.sh index b3a3756fd..95026c26a 100644 --- a/releng/build-scripts/build/otdt_prerequisites-hipp.sh +++ b/releng/build-scripts/build/otdt_prerequisites-hipp.sh @@ -52,14 +52,14 @@ NICE="10" # VERSIONS: # Eclipse SDK build identifier (used for substitution in otdt.map.in etc.): -SDK_QUALIFIER=I20161027-0700 +SDK_QUALIFIER=${SDK_QUALIFIER:="I20161027-0700"} # Architecture (as used by OSGi): ARCH=`arch` # used only locally (components of the ECLIPSE_SDK_TGZ path): -EVERSION=I20161027-0700 -DROP=${DROPS4}/I20161027-0700 +EVERSION=${EVERSION:="I20161027-0700"} +DROP=${DROPS4}/${DROP:="I20161027-0700"} # EXPORT: archive file of the base eclipse SDK build: ECLIPSE_SDK_TGZ=${DROP}/eclipse-SDK-${EVERSION}-linux-gtk-${ARCH}.tar.gz diff --git a/releng/build-scripts/build/otdt_runtests-hipp.sh b/releng/build-scripts/build/otdt_runtests-hipp.sh index 185225951..b1bbdad0d 100755 --- a/releng/build-scripts/build/otdt_runtests-hipp.sh +++ b/releng/build-scripts/build/otdt_runtests-hipp.sh @@ -23,6 +23,8 @@ # ECLIPSE_SDK_TGZ archive file of the base eclipse SDK build (full path) # ECLIPSE_TESTLIB_ZIP archive file of the eclipse test framework (full path) # PUBLISHED_UPDATES directory of previously published plugins&features +# FETCH_CACHE_LOCATION git working area holding caches for fetch +# MAP_FILE_PATH path to the otdt.map file (original location of otdt.map.in) # ANT_PROFILE configure the ant process # NICE niceness value for nice -n ${NICE} # ============================================================================= @@ -38,6 +40,9 @@ ## -Dpublished.updates path to previously published things ## -Ddo.build.all true|false: should OTDT and tests be built? ## -Ddo.run.tests true|false: should test be run? +## -DfetchCacheLocation git working area holding caches for fetch +## -Dmap.file.path path to the otdt.map file (original location of otdt.map.in) +## -D_hasSaxon.jar to prevent copying of saxon8.jar (was needed on build.eclipse.org) # ============================================================================= usage() @@ -90,35 +95,16 @@ DO_BUILD="true" #LOCAL: should the tests be run? DO_RUN="true" - -while test $# -gt 0; do - case "$1" in - -b) - MAIN_TARGET="ot-junit-build" - DO_RUN="false" - shift - ;; - -nobuild) +case ${MAIN_TARGET} in + "ot-junit-run") DO_BUILD="false" - shift ;; - -tmp) - shift - TEST_TMPDIR="$1" - shift - ;; - *) - echo "Unknown argument: $1" - usage - exit 1 - esac - -done - -if [ "${MAIN_TARGET}" == "ot-junit-run" ] -then - DO_BUILD="false" -fi + "ot-compiler-build") + ;& + "ot-junit-build") + DO_RUN="false" + ;; +esac # start working: @@ -135,6 +121,7 @@ then rm -rf updateSiteTests rm -rf updateSiteCompiler rm -rf metadata + rm -rf ecj else rm -f test-root/eclipse/results/* fi |