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

Update mac retry test (#56206)

上级 b2e06fc9
...@@ -743,7 +743,7 @@ EOF ...@@ -743,7 +743,7 @@ EOF
done done
rm -f $tmp_dir/* rm -f $tmp_dir/*
failed_test_lists='' failed_test_lists=''
ctest -R "($retry_unittests_regular)" --output-on-failure -j $2 | tee $tmpfile ctest -R "($retry_unittests_regular)" --output-on-failure -j 4 | tee $tmpfile
collect_failed_tests collect_failed_tests
exec_times=$[$exec_times+1] exec_times=$[$exec_times+1]
done done
...@@ -930,6 +930,7 @@ set -ex ...@@ -930,6 +930,7 @@ set -ex
function get_precision_ut_mac() { function get_precision_ut_mac() {
on_precision=0 on_precision=0
serial_list="test_resnet|test_resnet_v2|test_concat_op|test_paddle_save_load"
UT_list=$(ctest -N | awk -F ': ' '{print $2}' | sed '/^$/d' | sed '$d') UT_list=$(ctest -N | awk -F ': ' '{print $2}' | sed '/^$/d' | sed '$d')
precision_cases="" precision_cases=""
if [ ${PRECISION_TEST:-OFF} == "ON" ]; then if [ ${PRECISION_TEST:-OFF} == "ON" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册