|
|
|
@ -522,9 +522,11 @@ function run_mac_test() {
|
|
|
|
|
EOF
|
|
|
|
|
#remove proxy here to fix dist ut 'test_fl_listen_and_serv_op' error on mac.
|
|
|
|
|
#see details: https://github.com/PaddlePaddle/Paddle/issues/24738
|
|
|
|
|
set +x
|
|
|
|
|
my_proxy=$http_proxy
|
|
|
|
|
export http_proxy=
|
|
|
|
|
export https_proxy=
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
set +ex
|
|
|
|
|
if [ "$1" == "cp27-cp27m" ]; then
|
|
|
|
@ -601,8 +603,10 @@ EOF
|
|
|
|
|
echo "Mac testCase Time: $[ $ut_endTime_s - $ut_startTime_s ]s"
|
|
|
|
|
paddle version
|
|
|
|
|
# Recovery proxy to avoid failure in later steps
|
|
|
|
|
set +x
|
|
|
|
|
export http_proxy=$my_proxy
|
|
|
|
|
export https_proxy=$my_proxy
|
|
|
|
|
set -x
|
|
|
|
|
if [ "$mactest_error" != 0 ];then
|
|
|
|
|
if [[ "$failed_test_lists" == "" ]]; then
|
|
|
|
|
echo "========================================"
|
|
|
|
|