提交 357223d0 编写于 作者: haoranc's avatar haoranc

fix: recorect ci buildPath

上级 3a60c3b0
...@@ -167,8 +167,10 @@ function run_thread() { ...@@ -167,8 +167,10 @@ function run_thread() {
local case_build_san=`echo "$line"|cut -d, -f3` local case_build_san=`echo "$line"|cut -d, -f3`
if [ "${case_build_san}" == "y" ]; then if [ "${case_build_san}" == "y" ]; then
case_build_san="y" case_build_san="y"
DEBUGPATH="debugSan"
elif [[ "${case_build_san}" == "n" ]] || [[ "${case_build_san}" == "" ]]; then elif [[ "${case_build_san}" == "n" ]] || [[ "${case_build_san}" == "" ]]; then
case_build_san="n" case_build_san="n"
DEBUGPATH="debugNoSan"
else else
usage usage
exit 1 exit 1
...@@ -301,9 +303,9 @@ function run_thread() { ...@@ -301,9 +303,9 @@ function run_thread() {
if [ ! -z "$corefile" ]; then if [ ! -z "$corefile" ]; then
echo -e "\e[34m corefiles: $corefile \e[0m" echo -e "\e[34m corefiles: $corefile \e[0m"
local build_dir=$log_dir/build_${hosts[index]} local build_dir=$log_dir/build_${hosts[index]}
local remote_build_dir="${workdirs[index]}/TDengine/debug/build" local remote_build_dir="${workdirs[index]}/TDengine/{DEBUGPATH}/build"
if [ $ent -ne 0 ]; then if [ $ent -ne 0 ]; then
remote_build_dir="${workdirs[index]}/TDinternal/debug/build" remote_build_dir="${workdirs[index]}/TDinternal/{DEBUGPATH}/build"
fi fi
mkdir $build_dir 2>/dev/null mkdir $build_dir 2>/dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册