Add packet injector test frame
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
add_executable(gtest_build_tcp_packet gtest_build_tcp_packet.cpp)
|
||||
target_link_libraries(gtest_build_tcp_packet core gtest)
|
||||
|
||||
add_executable(gtest_build_udp_packet gtest_build_udp_packet.cpp)
|
||||
target_link_libraries(gtest_build_udp_packet core gtest)
|
||||
add_executable(gtest_inject_tcp_rst gtest_inject_tcp_rst.cpp packet_injector_test_frame.cpp)
|
||||
target_link_libraries(gtest_inject_tcp_rst core gtest)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(gtest_build_tcp_packet)
|
||||
gtest_discover_tests(gtest_build_udp_packet)
|
||||
gtest_discover_tests(gtest_inject_tcp_rst)
|
||||
|
||||
add_executable(packet_injector packet_injector.cpp)
|
||||
target_link_libraries(packet_injector core gtest)
|
||||
|
||||
file(COPY ./conf/log.toml DESTINATION ./conf/)
|
||||
file(COPY ./conf/stellar.toml DESTINATION ./conf/)
|
||||
file(COPY ./conf/ DESTINATION ./conf/)
|
||||
file(COPY ./pcap/ DESTINATION ./pcap/)
|
||||
Reference in New Issue
Block a user