未验证 提交 f8ec5f0f 编写于 作者: Z Zhou Wei 提交者: GitHub

just skip case of distribute on windows (#25581)

just skip case of distribute on windows
上级 bbe8f7bd
......@@ -59,11 +59,9 @@ if(WIN32)
# TODO: Fix these unittests failed on Windows
LIST(REMOVE_ITEM TEST_OPS test_debugger)
list(REMOVE_ITEM TEST_OPS test_desc_clone)
list(REMOVE_ITEM TEST_OPS test_fake_init_op)
list(REMOVE_ITEM TEST_OPS test_merge_ids_op)
list(REMOVE_ITEM TEST_OPS test_split_ids_op)
list(REMOVE_ITEM TEST_OPS test_program_code)
LIST(REMOVE_ITEM TEST_OPS test_ref_by_trainer_id_op)
LIST(REMOVE_ITEM TEST_OPS test_math_op_patch_var_base)
endif()
......
......@@ -18,6 +18,7 @@ import numpy as np
import argparse
import time
import math
import sys
import paddle
import paddle.fluid as fluid
......@@ -177,6 +178,8 @@ def program_equal(a, b):
class TestDistMnist(unittest.TestCase):
@unittest.skipIf(sys.platform == "win32",
"Windows does not support distribution")
def test_desc_clone(self):
get_model(batch_size=20)
......
......@@ -15,6 +15,7 @@
import os
import time
import unittest
import sys
from multiprocessing import Process
import signal
......@@ -29,6 +30,8 @@ import paddle.fluid.layers.ops as ops
class TestProgram2Code(unittest.TestCase):
@unittest.skipIf(sys.platform == "win32",
"Windows does not support distribution")
def test_print(self):
place = fluid.CPUPlace()
self.init_serv(place)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册