From cacf447e09f1e64eedc3dedb90dd98b218f715a6 Mon Sep 17 00:00:00 2001 From: qili93 Date: Mon, 30 Aug 2021 17:27:24 +0800 Subject: [PATCH] fix retry ci scripts, test=allcase --- paddle/scripts/paddle_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 58be5862dc5..5e2ad753814 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -1445,7 +1445,7 @@ function show_ut_retry_result() { echo "${failed_test_lists_ult}" exit 8; else - read retry_unittests_ut_name <<< $(echo "$retry_unittests_record" | grep -oEi "\-.+\(" | sed 's/(//' | sed 's/- //' ) + retry_unittests_ut_name=$(echo "$retry_unittests_record" | grep -oEi "\-.+\(" | sed 's/(//' | sed 's/- //' ) retry_unittests_record_judge=$(echo ${retry_unittests_ut_name}| tr ' ' '\n' | sort | uniq -c | awk '{if ($1 >=3) {print $2}}') if [ -z "${retry_unittests_record_judge}" ];then echo "========================================" -- GitLab