From 5af6081a723a945f91f516f0a5cf1d9c3a6fc909 Mon Sep 17 00:00:00 2001 From: Feiyu Chan Date: Wed, 22 Sep 2021 11:00:13 +0800 Subject: [PATCH] disable tests for fft on windows with gpu (#35872) --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 96a602538ca..3496021892f 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -702,7 +702,10 @@ endif() add_subdirectory(sequence) add_subdirectory(dygraph_to_static) add_subdirectory(rnn) -add_subdirectory(fft) + +if (NOT WIN32 OR NOT WITH_GPU) + add_subdirectory(fft) +endif() if (WITH_XPU) add_subdirectory(xpu) -- GitLab