Skip to content

Commit 6553956

Browse files
authored
Merge pull request #13931 from JiabinYang/fix_dist_on_mac
remove proxy before unit test to avoid error under distribution
2 parents 3598500 + 02f8634 commit 6553956

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ function run_mac_test() {
390390
Running unit tests ...
391391
========================================
392392
EOF
393-
393+
#remove proxy here to fix dist error on mac
394+
export http_proxy=
395+
export https_proxy=
394396
# TODO: jiabin need to refine this part when these tests fixed on mac
395397
ctest --output-on-failure -j $1
396398
# make install should also be test when unittest

0 commit comments

Comments
 (0)