Skip to content

Commit

Permalink
Add for all the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 19, 2024
1 parent d6ef64a commit 088b729
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function(ConfigureTest CMAKE_TEST_NAME)
cugraphtestutil
GTest::gtest
GTest::gtest_main
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand All @@ -188,9 +189,6 @@ function(ConfigureTest CMAKE_TEST_NAME)
set_tests_properties(${CMAKE_TEST_NAME} PROPERTIES LABELS "CUGRAPH")
endfunction()

add_library(test_logger_impls OBJECT)
target_link_libraries(test_logger_impls PRIVATE raft::raft_logger_impl)

function(ConfigureTestMG CMAKE_TEST_NAME)
add_executable(${CMAKE_TEST_NAME} ${ARGN})
target_include_directories(${CMAKE_TEST_NAME} PRIVATE "${CUGRAPH_SOURCE_DIR}/src")
Expand Down Expand Up @@ -254,6 +252,7 @@ function(ConfigureCTest CMAKE_TEST_NAME)
cugraph_c_testutil
GTest::gtest
GTest::gtest_main
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -286,6 +285,7 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)
GTest::gtest_main
NCCL::NCCL
MPI::MPI_CXX
test_logger_impls
)
set_target_properties(
${CMAKE_TEST_NAME}
Expand Down Expand Up @@ -314,6 +314,10 @@ function(ConfigureCTestMG CMAKE_TEST_NAME)

endfunction()

add_library(test_logger_impls OBJECT)
target_link_libraries(test_logger_impls PRIVATE raft::raft_logger_impl)


###################################################################################################
### test sources ##################################################################################
###################################################################################################
Expand Down

0 comments on commit 088b729

Please sign in to comment.