ci:add the env that builds with sanitizer

This commit is contained in:
chenhaoran 2022-11-10 09:10:40 +08:00
parent aedeecb81b
commit 04c6d7f26f
1 changed files with 2 additions and 2 deletions

View File

@ -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 3,4` local case_info=`echo "$line"|cut -d, -f 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
continue continue
fi fi
fi fi
line=`echo "$line"|cut -d, -f 3,4` line=`echo "$line"|cut -d, -f 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}