File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,10 @@ function track_case_status() {
190
190
echo -e " \033[31m ---- $case_name loss verification failed test : $loss_fail_count \033"
191
191
grep ' check failed! ' result.log | awk -v prefix=" $prefix_var " ' {if ($2 ~ "^" prefix) print $2}'
192
192
fi
193
+ return 2
193
194
fi
194
195
cd " $original_path " || { echo " Failed to return to original path: $original_path " ; return 1; }
196
+ return 0
195
197
}
196
198
# ###################################
197
199
get_diff_TO_case # 获取待执行case列表
@@ -238,6 +240,7 @@ if [[ ${#case_list[*]} -ne 0 ]];then
238
240
echo -e " \033[31m ---- end run case \033"
239
241
240
242
track_case_status $FUNCNAME " "
243
+ EXCODE=$?
241
244
else
242
245
echo -e " \033[32m Changed Not CI case, Skips \033"
243
246
EXCODE=0
You can’t perform that action at this time.
0 commit comments