summaryrefslogtreecommitdiff
path: root/shaping/test/CMakeLists.txt
diff options
context:
space:
mode:
author刘畅 <[email protected]>2024-07-31 09:41:21 +0000
committer刘畅 <[email protected]>2024-07-31 09:41:21 +0000
commit5b19aac02fb7b453cc0e6ae30eef1465352d92aa (patch)
tree1faf56cf86595d081341f734326ad5256283591b /shaping/test/CMakeLists.txt
parent2c2e3ac4c8ea3d04ca942330d7501bb28c48f5b9 (diff)
parent4030c6fb6887356e38b20cb3d74358463dd29e37 (diff)
Merge branch 'add_test_with_real_swarmkv' into 'rel'v3.1.39
Add test with real swarmkv See merge request tango/shaping-engine!101
Diffstat (limited to 'shaping/test/CMakeLists.txt')
-rw-r--r--shaping/test/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/shaping/test/CMakeLists.txt b/shaping/test/CMakeLists.txt
index 1c2e046..cf171d6 100644
--- a/shaping/test/CMakeLists.txt
+++ b/shaping/test/CMakeLists.txt
@@ -27,6 +27,14 @@ target_include_directories(gtest_shaper PUBLIC ${CMAKE_SOURCE_DIR}/shaping/inclu
target_link_libraries(gtest_shaper common shaper pthread gtest)
###############################################################################
+# gtest_shaper_with_swarmkv
+###############################################################################
+add_executable(gtest_shaper_with_swarmkv gtest_shaper_with_swarmkv.cpp stub.cpp dummy_rdkafka.cpp)
+target_include_directories(gtest_shaper_with_swarmkv PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
+target_include_directories(gtest_shaper_with_swarmkv PUBLIC ${CMAKE_SOURCE_DIR}/shaping/include)
+target_link_libraries(gtest_shaper_with_swarmkv common shaper swarmkv pthread gtest)
+
+###############################################################################
# gtest_shaper_aqm
###############################################################################
add_executable(gtest_shaper_aqm gtest_shaper_aqm.cpp)
@@ -43,5 +51,6 @@ gtest_discover_tests(gtest_shaper_maat)
gtest_discover_tests(gtest_shaper_send_log)
gtest_discover_tests(gtest_shaper)
gtest_discover_tests(gtest_shaper_aqm)
+#gtest_discover_tests(gtest_shaper_with_swarmkv)
file(COPY ./test_conf/ DESTINATION ./conf/) \ No newline at end of file