未验证 提交 1835b72c 编写于 作者: T tianshuo78520a 提交者: GitHub

fix cpu/gpu check approve (#33806)

* fix cpu/gpu check approve

* test=coverage;test=notest

* test=coverage;test=notest

* del
上级 a863cf73
...@@ -605,8 +605,10 @@ EOF ...@@ -605,8 +605,10 @@ EOF
if [ $need_retry_ut_count -lt $exec_retry_threshold ];then if [ $need_retry_ut_count -lt $exec_retry_threshold ];then
while ( [ $exec_times -lt $retry_time ] ) while ( [ $exec_times -lt $retry_time ] )
do do
set +e
retry_unittests_record="$retry_unittests_record$failed_test_lists" retry_unittests_record="$retry_unittests_record$failed_test_lists"
failed_test_lists_ult=`echo "${failed_test_lists}"` failed_test_lists_ult=`echo "${failed_test_lists}"`
set -e
if [[ "${exec_times}" == "1" ]];then if [[ "${exec_times}" == "1" ]];then
if [[ "${failed_test_lists}" == "" ]];then if [[ "${failed_test_lists}" == "" ]];then
break break
...@@ -2150,6 +2152,7 @@ function main() { ...@@ -2150,6 +2152,7 @@ function main() {
enable_unused_var_check enable_unused_var_check
;; ;;
gpu_cicheck_coverage) gpu_cicheck_coverage)
check_approvals_of_unittest 1
parallel_test parallel_test
check_coverage check_coverage
check_change_of_unittest ${PYTHON_ABI:-""} check_change_of_unittest ${PYTHON_ABI:-""}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册