Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 6a43f87783828cedc9dff06809a3a9d7896bbc74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                                


                                                                      
                                                          


                                        
























                                                                                
#!/usr/bin/env bash
#*******************************************************************************
# Copyright (c) 2016 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# 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


Back to the top