summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsb46
1 files changed, 46 insertions, 0 deletions
diff --git a/sb b/sb
index cb351c4c..80184a30 100755
--- a/sb
+++ b/sb
@@ -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
OpenPOWER on IntegriCloud