From d835118dbdb78dbafef651a4be432311333f153a Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Fri, 23 Oct 2020 09:52:46 +0800 Subject: [PATCH] Hide log message (#28220) --- paddle/scripts/paddle_build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 016188057ad..711d6564cfa 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -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 "========================================" -- GitLab