提交 7b5fee31 编写于 作者: Q qili93

update paddle_build.sh scripts, test=allcase

上级 0271eb00
...@@ -1445,7 +1445,7 @@ function show_ut_retry_result() { ...@@ -1445,7 +1445,7 @@ function show_ut_retry_result() {
echo "${failed_test_lists_ult}" echo "${failed_test_lists_ult}"
exit 8; exit 8;
else 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}}') 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 if [ -z "${retry_unittests_record_judge}" ];then
echo "========================================" echo "========================================"
...@@ -1711,7 +1711,7 @@ function parallel_test_base_npu() { ...@@ -1711,7 +1711,7 @@ function parallel_test_base_npu() {
======================================== ========================================
EOF EOF
set -x set +x
test_cases=$(ctest -N -V) # get all test cases 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 get_quickly_disable_ut||disable_ut_quickly='' # indicate whether the case was in quickly disable list
while read -r line; do while read -r line; do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册