diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-04-16 22:34:34 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-04-25 15:48:26 -0500 |
commit | 06c726df9e0adfab971d7925e0ae0908b9229527 (patch) | |
tree | 9e0858abdf3362d7fcf9763e1dc28b40da3b4694 /src/build/citest/populate-sandbox | |
parent | 90ba110f5fda85e77cee73d8b4e7692d00be221d (diff) | |
download | talos-hostboot-06c726df9e0adfab971d7925e0ae0908b9229527.tar.gz talos-hostboot-06c726df9e0adfab971d7925e0ae0908b9229527.zip |
Reorganize citest scripts.
Split pieces of the autocitest script out so that we can control the
order of the pieces, allow some to run in parallel, etc. This will
enable us to build the error log parsers as part of Jenkins testing.
Change-Id: I017c7b0516673dc267eb90adf03b4604602281e6
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10673
Tested-by: Jenkins Server
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/citest/populate-sandbox')
-rwxr-xr-x | src/build/citest/populate-sandbox | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/build/citest/populate-sandbox b/src/build/citest/populate-sandbox new file mode 100755 index 000000000..d256caeef --- /dev/null +++ b/src/build/citest/populate-sandbox @@ -0,0 +1,42 @@ +#!/bin/sh +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/citest/populate-sandbox $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2014 +# +# p1 +# +# Object Code Only (OCO) source materials +# Licensed Internal Code Source Materials +# IBM HostBoot Licensed Internal Code +# +# The source code for this program is not published or otherwise +# divested of its trade secrets, irrespective of what has been +# deposited with the U.S. Copyright Office. +# +# Origin: 30 +# +# IBM_PROLOG_END_TAG + +# Ensure sandbox exists (create-sandbox has been called). +if [ -z $SANDBOXBASE ]; +then + echo "SANDBOXBASE variable uninitialized.." + exit -1 +fi + +if [ ! -d "$SANDBOXBASE" ]; +then + echo "Cannot find sandbox: $SANDBOXBASE" + exit -1 +fi + +# Create img directory. +mkdir -p $SANDBOXBASE/img || exit -1 + +# Copy files. +hbDistribute --test || exit -1 |