diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-19 02:14:55 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-26 00:02:10 -0400 |
commit | f62a9f032ee9a66b15041bd94399b3b7b2e8ffca (patch) | |
tree | 814d548117ba3ee9b33b696cf3441bb72930b2d4 /sb | |
parent | 73d6d530021d5ecf29a68248b003ac2d2ebe0672 (diff) | |
download | talos-sbe-f62a9f032ee9a66b15041bd94399b3b7b2e8ffca.tar.gz talos-sbe-f62a9f032ee9a66b15041bd94399b3b7b2e8ffca.zip |
Add citest option to sb tool
Change-Id: Ibc903300e918514ea465d0e6e13f118834d57bbf
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28501
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sb')
-rwxr-xr-x | sb | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -1,4 +1,28 @@ #!/bin/sh +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: sb $ +# +# OpenPOWER sbe Project +# +# Contributors Listed Below - COPYRIGHT 2016 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# IBM_PROLOG_END_TAG sb_helptext() { @@ -35,6 +59,12 @@ sb_helptext() echo " Usage:" echo " Refer : $PWD/sbe/build/tools/sbePrime.py -h" ;; + citest) + echo " Topic 'Run SBE CI'" + echo + echo " Usage:" + echo " sb citest" + ;; *) echo " Usage:" echo " sb <cmd>" @@ -52,6 +82,8 @@ sb_helptext() echo " prime" echo "" echo " simsetup" + echo "" + echo " citest" echo esac } @@ -97,6 +129,17 @@ sb_prime() } +sb_citest() +{ + if [ -n "${SBE_INSIDE_WORKON}" ]; then + echo "Already in a workon.. Continuing" + $PWD/sbe/build/citest/build-script + else + echo "Please do workon and re launch..." + fi + +} + sb_simsetup() { if [ -n "${SBE_INSIDE_WORKON}" ]; then @@ -131,6 +174,9 @@ prime) simsetup) sb_simsetup $* ;; +citest) + sb_citest $* + ;; *) sb_helptext $* exit -1 |