diff --git a/test/cpp/fluid/cinn/CMakeLists.txt b/test/cpp/fluid/cinn/CMakeLists.txt index 27c0591b91322..35d095fc90bda 100644 --- a/test/cpp/fluid/cinn/CMakeLists.txt +++ b/test/cpp/fluid/cinn/CMakeLists.txt @@ -1,19 +1,5 @@ if(WITH_TESTING) - paddle_test( - cinn_launch_context_test - SRCS - cinn_launch_context_test.cc - DEPS - fleet_executor - phi - lod_tensor - scope - proto_desc - graph - cinn_launch_context - cinn_instruction_run_op - cinnapi - paddle_flags) + paddle_test(cinn_launch_context_test SRCS cinn_launch_context_test.cc) target_link_libraries(cinn_launch_context_test ${PYTHON_LIBRARIES}) set_tests_properties(cinn_launch_context_test PROPERTIES LABELS "RUN_TYPE=CINN") @@ -22,15 +8,7 @@ if(WITH_TESTING) "OMP_NUM_THREADS=1;runtime_include_dir=${CINN_INCLUDE_DIR}/paddle/cinn/runtime/cuda/" ) - paddle_test( - cinn_instruction_run_op_test - SRCS - cinn_instruction_run_op_test.cc - DEPS - cinn_launch_op - cinn_instruction_run_op - elementwise_add_op - paddle_flags) + paddle_test(cinn_instruction_run_op_test SRCS cinn_instruction_run_op_test.cc) target_link_libraries(cinn_instruction_run_op_test ${PYTHON_LIBRARIES}) get_property(