From be5c2e6050bdc95cf8fc26005a1b6d16f3d33c38 Mon Sep 17 00:00:00 2001 From: huangxu96 <46740794+huangxu96@users.noreply.github.com> Date: Fri, 8 Jan 2021 20:57:31 +0800 Subject: [PATCH] fix windows bug (#29993) --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 3 +++ tools/windows/run_unittests.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index e3290bce63..de82e6f6f6 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -101,6 +101,9 @@ if(WIN32) # TODO: Fix these unittests failed on Windows LIST(REMOVE_ITEM TEST_OPS test_debugger) + if (WITH_GPU) + LIST(REMOVE_ITEM TEST_OPS test_update_loss_scaling_op) + endif() endif() if(NOT WITH_DISTRIBUTE OR WIN32) diff --git a/tools/windows/run_unittests.sh b/tools/windows/run_unittests.sh index 1471436caf..22069074aa 100644 --- a/tools/windows/run_unittests.sh +++ b/tools/windows/run_unittests.sh @@ -74,7 +74,6 @@ diable_wingpu_test="^test_gradient_clip$|\ ^test_py_reader_pin_memory$|\ ^test_py_reader_push_pop$|\ ^test_reader_reset$|\ -^test_update_loss_scaling_op$|\ ^test_imperative_se_resnext$|\ ^test_imperative_static_runner_while$|\ ^test_fuse_bn_act_pass$|\ -- GitLab