diff options
author | David Williams | 2016-08-18 06:07:30 +0000 |
---|---|---|
committer | David Williams | 2016-08-18 06:07:30 +0000 |
commit | e9449115e593b545d8e94b778255f4919a790b67 (patch) | |
tree | 9f34044bc74a5bc2a150176ea97f93424c59273e /production/manually_test_createReports.sh | |
parent | fd6d8f6c233e3a4bfa70d2990a77faef7c036629 (diff) | |
download | eclipse.platform.releng.aggregator-e9449115e593b545d8e94b778255f4919a790b67.tar.gz eclipse.platform.releng.aggregator-e9449115e593b545d8e94b778255f4919a790b67.tar.xz eclipse.platform.releng.aggregator-e9449115e593b545d8e94b778255f4919a790b67.zip |
Bug 499826 - Reporeports missing for latest builds
Change-Id: Ie3a5e9986c69535e1179742440dec83abea18427
Diffstat (limited to 'production/manually_test_createReports.sh')
-rwxr-xr-x | production/manually_test_createReports.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/production/manually_test_createReports.sh b/production/manually_test_createReports.sh new file mode 100755 index 000000000..2ebe6e1a5 --- /dev/null +++ b/production/manually_test_createReports.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +#******************************************************************************* +# Copyright (c) 2016 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# David Williams - initial API and implementation +#******************************************************************************* + +# This is a small utility to test "createReports.sh" since it depends on +# only a few variables (and many assumptions!) that it can be run +# standalone. + +# typically only BUILD_ID needs to be changed for a new test. +export BUILD_ID=I20160816-1015 + +export BUILD_HOME=/shared/eclipse/builds +export TMP_DIR=/shared/eclipse/tmp +# for testing, asssume createReports.sh is in same directory as +# manually_test_createReports.sh (Does not matter which directory +# they are in). +./createReports.sh +RC=$? +if [[ $RC != 0 ]] +then + echo -e "\n\t[ERROR] createReports.sh returned non-zero error code: $RC" +fi + + |