From c0d94a0c31d5f93cafe1495a790ba722ff61d1ff Mon Sep 17 00:00:00 2001 From: Ryan <44900829+DrRyanHuang@users.noreply.github.com> Date: Tue, 19 Dec 2023 21:28:01 +0800 Subject: [PATCH 1/2] rm paddle_test DEPS --- test/cpp/fluid/CMakeLists.txt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/test/cpp/fluid/CMakeLists.txt b/test/cpp/fluid/CMakeLists.txt index fcd62960263dd..9f30f0e5376c0 100644 --- a/test/cpp/fluid/CMakeLists.txt +++ b/test/cpp/fluid/CMakeLists.txt @@ -125,18 +125,9 @@ if(WITH_CINN) paddle_test( op_debug_string_test SRCS - op_debug_string_test.cc - DEPS - executor - common - fleet_executor - recurrent_op_helper - recurrent_op - elementwise_add_op - ${COMMON_OP_DEPS} - python) + op_debug_string_test.cc) else() - paddle_test(op_debug_string_test SRCS op_debug_string_test.cc DEPS common) + paddle_test(op_debug_string_test SRCS op_debug_string_test.cc) endif() if(WITH_GPU) From a48373920cea64760027579649adb1b0c5219925 Mon Sep 17 00:00:00 2001 From: Ryan <44900829+DrRyanHuang@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:58:55 +0800 Subject: [PATCH 2/2] fix codestyle --- test/cpp/fluid/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/cpp/fluid/CMakeLists.txt b/test/cpp/fluid/CMakeLists.txt index 9f30f0e5376c0..a786a6e57bb33 100644 --- a/test/cpp/fluid/CMakeLists.txt +++ b/test/cpp/fluid/CMakeLists.txt @@ -122,10 +122,7 @@ cc_test( DEPS lod_tensor device_context generated_static_op) if(WITH_CINN) - paddle_test( - op_debug_string_test - SRCS - op_debug_string_test.cc) + paddle_test(op_debug_string_test SRCS op_debug_string_test.cc) else() paddle_test(op_debug_string_test SRCS op_debug_string_test.cc) endif()