diff --git a/test/cpp/pir/cinn/CMakeLists.txt b/test/cpp/pir/cinn/CMakeLists.txt index 80b35ae6b589f..b38edcbb62041 100644 --- a/test/cpp/pir/cinn/CMakeLists.txt +++ b/test/cpp/pir/cinn/CMakeLists.txt @@ -1,82 +1,29 @@ add_subdirectory(adt) if(WITH_TESTING AND WITH_CINN) - paddle_test(test_pir_compiler SRCS pir_compiler_test.cc DEPS pir_compiler - cinn_runtime_dialect) + paddle_test(test_pir_compiler SRCS pir_compiler_test.cc) - paddle_test(test_jit_instruction SRCS jit_instruction_test.cc DEPS - cinn_runtime_dialect pir_compiler) + paddle_test(test_jit_instruction SRCS jit_instruction_test.cc) - paddle_test( - test_dialect_convert - SRCS - dialect_convert_test.cc - DEPS - drr - pd_to_cinn_pass - op_dialect_vjp - cinn_op_dialect - pir) + paddle_test(test_dialect_convert SRCS dialect_convert_test.cc) - paddle_test( - test_add_broadcast_to_elementwise - SRCS - add_broadcast_to_elementwise_test.cc - DEPS - drr - pd_to_cinn_pass - op_dialect_vjp - cinn_op_dialect - add_broadcast_to_elementwise_pass - pir) + paddle_test(test_add_broadcast_to_elementwise SRCS + add_broadcast_to_elementwise_test.cc) - paddle_test( - test_sub_graph_extract - SRCS - sub_graph_extract_test.cc - DEPS - drr - pd_to_cinn_pass - cinn_op_dialect - op_dialect_vjp - pir_transforms - pir) + paddle_test(test_sub_graph_extract SRCS sub_graph_extract_test.cc DEPS + pir_transforms) paddle_test(test_ir_op_fusion SRCS ir_op_fusion_test.cc) - paddle_test( - test_pir_all_path - SRCS - pir_all_path_test.cc - DEPS - pir_transforms - cinn_op_dialect - pd_to_cinn_pass - add_broadcast_to_elementwise_pass) + paddle_test(test_pir_all_path SRCS pir_all_path_test.cc) - paddle_test( - test_group_op - SRCS - group_op_test.cc - DEPS - pd_to_cinn_pass - add_broadcast_to_elementwise_pass - cinn_op_dialect - pir_transforms) + paddle_test(test_group_op SRCS group_op_test.cc) - paddle_test( - dynamic_reshape_test - SRCS - dynamic_reshape_test.cc - DEPS - pd_to_cinn_pass - cinn_op_dialect - pir_transforms) + paddle_test(dynamic_reshape_test SRCS dynamic_reshape_test.cc) - paddle_test(test_pir_build_cinn_pass SRCS build_cinn_pass_test.cc DEPS - pir_transforms pir) + paddle_test(test_pir_build_cinn_pass SRCS build_cinn_pass_test.cc) - paddle_test(test_compilation_task SRCS compilation_task_test.cc DEPS pir) + paddle_test(test_compilation_task SRCS compilation_task_test.cc) # DO NOT forget add test name here, otherwise it will not be executed in # CINN CI.