From 7b5fee31df4afa0d46ad7a981f29efe953aac5cf Mon Sep 17 00:00:00 2001 From: qili93 Date: Mon, 30 Aug 2021 19:53:35 +0800 Subject: [PATCH] update paddle_build.sh scripts, test=allcase --- paddle/scripts/paddle_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 94272ae2f89..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 "========================================" @@ -1711,7 +1711,7 @@ function parallel_test_base_npu() { ======================================== EOF -set -x +set +x test_cases=$(ctest -N -V) # get all test cases get_quickly_disable_ut||disable_ut_quickly='' # indicate whether the case was in quickly disable list while read -r line; do -- GitLab