summaryrefslogtreecommitdiffstats
path: root/sbe/build
diff options
context:
space:
mode:
Diffstat (limited to 'sbe/build')
-rwxr-xr-xsbe/build/citest/autocitest21
-rwxr-xr-xsbe/build/citest/build-script26
-rwxr-xr-xsbe/build/citest/etc/workarounds.presimsetup1
3 files changed, 24 insertions, 24 deletions
diff --git a/sbe/build/citest/autocitest b/sbe/build/citest/autocitest
index 9197fb70..71573372 100755
--- a/sbe/build/citest/autocitest
+++ b/sbe/build/citest/autocitest
@@ -47,21 +47,24 @@ timestamp=`date +'%H:%M:%S'`
echo "$timestamp Starting SBE test..."
# Check preconditions for run-fsp-it
-mkdir -p ~/private
-if [ ! -f ~/private/.p ]; then
+# This is just workaround. It is expected
+# that user already either have this file
+# or tokens have been taken by klog command.
+# This is just to make run-fsp-it work in user
+# sandbox
+if [ -z $RUNNING_UNDER_JENKINS ]
+then
+ mkdir -p ~/private
+ if [ ! -f ~/private/.p ]; then
echo "Creating p file"
touch ~/private/.p
-fi
+ fi
-if [ ! -f ~/private/password ]; then
+ if [ ! -f ~/private/password ]; then
echo "Creating passwd file"
touch ~/private/password
- # This is just workaround. It is expected
- # that user already either have this file
- # or tokens have been taken by klog command.
- # This is just to make run-fsp-it work in user
- # sandbox
echo "dummy" > ~/private/password
+ fi
fi
execute_in_sandbox "run-fsp-it $NOWIN --machine $MACHINE $SBE_TEST_XML" "ppc" || exit -1
diff --git a/sbe/build/citest/build-script b/sbe/build/citest/build-script
index 4d6775b9..7331028c 100755
--- a/sbe/build/citest/build-script
+++ b/sbe/build/citest/build-script
@@ -23,26 +23,24 @@ scl enable devtoolset-2 " bash -c \"make all\"" || exit -1
make tracehash || exit -1
cd -
-#@ TODO via RTC 123606
-# Enable this in another case
# Create simics sandbox.
-#create-sandbox > create-sandbox.log 2>&1 &
-#CREATESANDBOX_PID=$!
+create-sandbox > create-sandbox.log 2>&1 &
+CREATESANDBOX_PID=$!
# Check sandbox create completion.
-#wait $CREATESANDBOX_PID
-#if [ $? -eq 0 ]; then
-# cat create-sandbox.log
-#else
-# echo "----Sandbox creation failed."
-# cat create-sandbox.log
-# exit -1
-#fi
+wait $CREATESANDBOX_PID
+if [ $? -eq 0 ]; then
+ cat create-sandbox.log
+else
+ echo "----Sandbox creation failed."
+ cat create-sandbox.log
+ exit -1
+fi
# Add SBE files to simics sandbox.
-#populate-sandbox || exit -1
+populate-sandbox || exit -1
-#sbetest-start.sh || exit -1
+sbetest-start.sh || exit -1
# @TODO via RTC 140875
#Enable it once SBE copyright script is ready
diff --git a/sbe/build/citest/etc/workarounds.presimsetup b/sbe/build/citest/etc/workarounds.presimsetup
index b1db34de..df18fda1 100755
--- a/sbe/build/citest/etc/workarounds.presimsetup
+++ b/sbe/build/citest/etc/workarounds.presimsetup
@@ -6,4 +6,3 @@
#egrep -v "WSALIAS DEFAULT FIPSLEVEL|WSALIAS DEFAULT SIMICSLEVEL" $BACKING_BUILD/src/simu/data/simicsInfo > $sb/simu/data/simicsInfo
#echo "WSALIAS DEFAULT FIPSLEVEL env/gfwb/simics-4.2.0/simics-4.2.83/fips/fld36/fi120201a700.42" >> $sb/simu/data/simicsInfo
#echo "WSALIAS DEFAULT SIMICSLEVEL env/vtechb/simics-4.2.0/simics-4.2.83/bin" >> $sb/simu/data/simicsInfo
-
OpenPOWER on IntegriCloud