diff --git a/test/cpp/pir/core/CMakeLists.txt b/test/cpp/pir/core/CMakeLists.txt index e8ab757d38104..6a00f1bd7ab73 100644 --- a/test/cpp/pir/core/CMakeLists.txt +++ b/test/cpp/pir/core/CMakeLists.txt @@ -1,14 +1,7 @@ paddle_test(type_test SRCS type_test.cc DEPS pir op_dialect_vjp) paddle_test(ir_attribute_test SRCS ir_attribute_test.cc DEPS pir) paddle_test(ir_value_test SRCS ir_value_test.cc DEPS pir) -paddle_test( - ir_op_test - SRCS - ir_op_test.cc - DEPS - pir - test_dialect - op_dialect_vjp) +paddle_test(ir_op_test SRCS ir_op_test.cc DEPS test_dialect op_dialect_vjp) paddle_test(ir_region_test SRCS ir_region_test.cc DEPS pir) paddle_test(ir_builder_test SRCS ir_builder_test.cc DEPS pir) cc_test_old( @@ -131,8 +124,7 @@ cc_test_old( gtest pir) -paddle_test(block_argument_test SRCS block_argument_test.cc DEPS test_dialect - pir) +paddle_test(block_argument_test SRCS block_argument_test.cc DEPS test_dialect) if(WITH_ONNXRUNTIME AND WIN32) # Copy onnxruntime for some c++ test in Windows, since the test will