From 53bf71ea043426dd23319bd3bd011fd9a8ce0446 Mon Sep 17 00:00:00 2001 From: kalyanreddy Date: Tue, 7 Mar 2017 16:46:59 +0530 Subject: 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 Signed-off-by: Gundarapu Kalyan Reddy --- ci/envs/host-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci/envs/host-config') 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 -- cgit 1.2.3-korg