summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-09-13 16:08:07 +0800
committerluwenpeng <[email protected]>2024-09-13 18:07:40 +0800
commit173a6ced619ebd93d7e52e455936b02c91d8e8b6 (patch)
tree130674f20c0b86a041d72400526a1e5b51dd0bd7 /test
parent06c498409f0fef942e59143d1484e9679bd212d2 (diff)
refactor: rename the directory infra/packet_parser to infra/paket_manager
Diffstat (limited to 'test')
-rw-r--r--test/debug_plugin/CMakeLists.txt2
-rw-r--r--test/decoders/session_flags/CMakeLists.txt2
-rw-r--r--test/packet_tool/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/debug_plugin/CMakeLists.txt b/test/debug_plugin/CMakeLists.txt
index 38be076..707044e 100644
--- a/test/debug_plugin/CMakeLists.txt
+++ b/test/debug_plugin/CMakeLists.txt
@@ -1,6 +1,6 @@
# build libdebug_plugin.so
add_library(debug_plugin SHARED debug_plugin.c)
-target_link_libraries(debug_plugin stellar_lib session_manager packet_parser)
+target_link_libraries(debug_plugin stellar_lib session_manager packet_manager)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra)
set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
diff --git a/test/decoders/session_flags/CMakeLists.txt b/test/decoders/session_flags/CMakeLists.txt
index 2ed5407..7e76d4a 100644
--- a/test/decoders/session_flags/CMakeLists.txt
+++ b/test/decoders/session_flags/CMakeLists.txt
@@ -41,7 +41,7 @@ set_target_properties(session_flags_test_main
)
set(LINK_FLAGS "-rdynamic")
-target_link_libraries(session_flags_test_main PUBLIC gtest cjson-static stellar_lib -Wl,--whole-archive packet_parser -Wl,--no-whole-archive)
+target_link_libraries(session_flags_test_main PUBLIC gtest cjson-static stellar_lib -Wl,--whole-archive packet_manager -Wl,--no-whole-archive)
add_subdirectory(test_based_on_stellar)
diff --git a/test/packet_tool/CMakeLists.txt b/test/packet_tool/CMakeLists.txt
index 981c32a..c008e95 100644
--- a/test/packet_tool/CMakeLists.txt
+++ b/test/packet_tool/CMakeLists.txt
@@ -1,5 +1,5 @@
add_executable(packet_tool packet_tool.c)
-target_link_libraries(packet_tool packet_parser pcap)
+target_link_libraries(packet_tool packet_manager pcap)
file(COPY split_pcap.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY cmp_layers.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) \ No newline at end of file