Skip to content

Commit

Permalink
【paddle_test No.34】replace cc_test with paddle_test (#60961)
Browse files Browse the repository at this point in the history
* feat(cmake): push paddle_test of backends

* feat(ctest): move ut to test
  • Loading branch information
xiaoyewww authored Jan 22, 2024
1 parent 8a9508b commit bee4736
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
7 changes: 0 additions & 7 deletions paddle/phi/backends/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,3 @@ if(WITH_CUSTOM_DEVICE)
endif()

collect_srcs(backends_srcs SRCS ${BACKENDS_SRCS})

if(WITH_CUSTOM_DEVICE)
cc_test(
capi_test
SRCS custom/capi_test.cc
DEPS phi common)
endif()
3 changes: 3 additions & 0 deletions test/cpp/phi/backends/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(WITH_CUSTOM_DEVICE)
paddle_test(capi_test SRCS custom/capi_test.cc DEPS phi common)
endif()
File renamed without changes.

0 comments on commit bee4736

Please sign in to comment.