Skip to content

Commit bc5fc5c

Browse files
authored
Merge pull request #13483 from JiabinYang/mac/fix_unittest_279_395
fix mac unittest 279/395 error without distribute
2 parents 4760d5a + 2c7a8b9 commit bc5fc5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/paddle/fluid/tests/unittests/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ list(REMOVE_ITEM TEST_OPS op_test) # op_test is a helper python file, not a test
3030
list(REMOVE_ITEM TEST_OPS decorators) # decorators is a helper python file, not a test
3131

3232
if(APPLE)
33+
if(NOT WITH_DISTRIBUTE)
34+
list(REMOVE_ITEM TEST_OPS test_desc_clone)
35+
list(REMOVE_ITEM TEST_OPS test_program_code)
36+
endif(NOT WITH_DISTRIBUTE)
3337
message(WARNING "These tests has been disabled in OSX before being fixed: \n test_detection_map_op \n test_dist_se_resnext")
3438
# this op is not support on mac
3539
list(REMOVE_ITEM TEST_OPS test_fusion_seqexpand_concat_fc_op)

0 commit comments

Comments
 (0)