-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from doujiang24/cmake-add-test
[TransferEngine] test: cmake enable testing.
- Loading branch information
Showing
9 changed files
with
137 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
add_executable(rdma_transport_test rdma_transport_test.cpp) | ||
target_link_libraries(rdma_transport_test PUBLIC transfer_engine) | ||
# add_test(NAME rdma_transport_test COMMAND rdma_transport_test) | ||
|
||
add_executable(transport_uint_test transport_uint_test.cpp) | ||
target_link_libraries(transport_uint_test PUBLIC transfer_engine gtest gtest_main ) | ||
target_link_libraries(transport_uint_test PUBLIC transfer_engine gtest gtest_main ) | ||
add_test(NAME transport_uint_test COMMAND transport_uint_test) | ||
|
||
add_executable(rdma_transport_test2 rdma_transport_test2.cpp) | ||
target_link_libraries(rdma_transport_test2 PUBLIC transfer_engine gtest gtest_main ) | ||
target_link_libraries(rdma_transport_test2 PUBLIC transfer_engine gtest gtest_main ) | ||
# add_test(NAME rdma_transport_test2 COMMAND rdma_transport_test2) | ||
|
||
add_executable(tcp_transport_test tcp_transport_test.cpp) | ||
target_link_libraries(tcp_transport_test PUBLIC transfer_engine gtest gtest_main ) | ||
target_link_libraries(tcp_transport_test PUBLIC transfer_engine gtest gtest_main ) | ||
add_test(NAME tcp_transport_test COMMAND tcp_transport_test) | ||
|
||
add_executable(transfer_metadata_test transfer_metadata_test.cpp) | ||
target_link_libraries(transfer_metadata_test PUBLIC transfer_engine gtest gtest_main) | ||
add_test(NAME transfer_metadata_test COMMAND transfer_metadata_test) | ||
|
||
add_executable(topology_test topology_test.cpp) | ||
target_link_libraries(topology_test PUBLIC transfer_engine gtest gtest_main) | ||
add_test(NAME topology_test COMMAND topology_test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.