提交 962bbb20 编写于 作者: haoranc's avatar haoranc

ci:add the env that builds with sanitizer

上级 14a499c2
...@@ -208,7 +208,7 @@ function run_thread() { ...@@ -208,7 +208,7 @@ function run_thread() {
start_time=`date +%s` start_time=`date +%s`
local case_index=`flock -x $lock_file -c "sh -c \"echo \\\$(( \\\$( cat $index_file ) + 1 )) | tee $index_file\""` local case_index=`flock -x $lock_file -c "sh -c \"echo \\\$(( \\\$( cat $index_file ) + 1 )) | tee $index_file\""`
case_index=`printf "%5d" $case_index` case_index=`printf "%5d" $case_index`
local case_info=`echo "$line"|cut -d, -f 4,5` local case_info=`echo "$line"|cut -d, -f 3,4,5`
while [ ${redo_count} -lt 6 ]; do while [ ${redo_count} -lt 6 ]; do
if [ -f $case_log_file ]; then if [ -f $case_log_file ]; then
cp $case_log_file $log_dir/$case_file.${redo_count}.redotxt cp $case_log_file $log_dir/$case_file.${redo_count}.redotxt
...@@ -422,7 +422,7 @@ if [ -f "${failed_case_file}" ]; then ...@@ -422,7 +422,7 @@ if [ -f "${failed_case_file}" ]; then
continue continue
fi fi
fi fi
line=`echo "$line"|cut -d, -f 4,5` line=`echo "$line"|cut -d, -f 3,4,5`
echo -e "$i. $line \e[31m failed\e[0m" >&2 echo -e "$i. $line \e[31m failed\e[0m" >&2
i=$(( i + 1 )) i=$(( i + 1 ))
done <${failed_case_file} done <${failed_case_file}
......
...@@ -84,7 +84,7 @@ if [ $ent -ne 0 ]; then ...@@ -84,7 +84,7 @@ if [ $ent -ne 0 ]; then
CONTAINER_TESTDIR=/home/TDinternal/community CONTAINER_TESTDIR=/home/TDinternal/community
SIM_DIR=/home/TDinternal/sim SIM_DIR=/home/TDinternal/sim
REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal" REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal"
REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDinternal/debug/" REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDinternal/debug/:ro"
else else
# community edition # community edition
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册