summaryrefslogtreecommitdiffstats
path: root/ci/envs/host-config
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-03-07 16:46:59 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-03-13 11:58:27 +0000
commit53bf71ea043426dd23319bd3bd011fd9a8ce0446 (patch)
tree2b035fb10d1efc4f2540aec8f08a791bbcb1e75b /ci/envs/host-config
parent0c2f88aa2ccffc538c276caac88da6841107bf81 (diff)
This patch includes updated scripts for modifying function names and
to optimize the code for executing all the test cases and performing necessary host cleaning operations after executing all the test cases. Change-Id: Ia1a4f6743631ff07c27afa949b6820fcc862a3ce Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'ci/envs/host-config')
-rwxr-xr-xci/envs/host-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/envs/host-config b/ci/envs/host-config
index 99cbb3773..727ba1574 100755
--- a/ci/envs/host-config
+++ b/ci/envs/host-config
@@ -35,8 +35,8 @@ done
stress_isolcpus=${first}-${last}
echo "Stress tool runs on $stress_isolcpus"
-#Tar the log files generated during testcase execution.
-function err_exit {
+#Tar the log files generated during testcase execution and exit.
+function test_exit {
exitCode=$1
cd $WORKSPACE/build_output/
if [ -d log ];then