ci:add the env that builds with sanitizer

This commit is contained in:
chenhaoran 2022-11-09 22:42:02 +08:00
parent bd2f86f22c
commit aedeecb81b
2 changed files with 7 additions and 1 deletions

View File

@ -56,6 +56,12 @@ docker run \
-v $REP_MOUNT_PARAM \
--rm --ulimit core=-1 taos_test:v1.0 sh -c "cd $REP_DIR;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true;make -j $THREAD_COUNT"
if [[ -d ${WORKDIR}/debugNoSan ]] ;then
rm -rf ${WORKDIR}/debugNoSan
elif [[ -d ${WORKDIR}/debugSan ]] ;then
rm -rf ${WORKDIR}/debugSan
fi
mv ${REP_REAL_PATH}/debug ${WORKDIR}/debugNoSan
date
docker run \

View File

@ -201,7 +201,7 @@ function run_thread() {
mkdir -p $log_dir/$case_path
fi
cmd="${runcase_script} ${script} -w ${workdirs[index]} -c \"${case_cmd}\" -t ${thread_no} -d ${exec_dir} -s ${case_build_san} ${timeout_param}"
echo "$thread_no $count $cmd"
# echo "$thread_no $count $cmd"
local ret=0
local redo_count=1
local case_log_file=$log_dir/${case_file}.txt