TSG-14599 tsg-service-chaining-engine支持新的Metrics结构
This commit is contained in:
@@ -7,12 +7,32 @@ target_include_directories(gtest_policy PUBLIC ${CMAKE_SOURCE_DIR}/common/includ
|
||||
target_include_directories(gtest_policy PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
|
||||
target_link_libraries(gtest_policy common platform gtest)
|
||||
|
||||
###############################################################################
|
||||
# gtest_sf_metrics
|
||||
###############################################################################
|
||||
|
||||
add_executable(gtest_sf_metrics gtest_sf_metrics.cpp)
|
||||
target_include_directories(gtest_sf_metrics PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
||||
target_include_directories(gtest_sf_metrics PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
|
||||
target_link_libraries(gtest_sf_metrics common platform gtest)
|
||||
|
||||
###############################################################################
|
||||
# gtest_sf_status
|
||||
###############################################################################
|
||||
|
||||
add_executable(gtest_sf_status gtest_sf_status.cpp)
|
||||
target_include_directories(gtest_sf_status PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
||||
target_include_directories(gtest_sf_status PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
|
||||
target_link_libraries(gtest_sf_status common platform gtest)
|
||||
|
||||
###############################################################################
|
||||
# gtest_discover_tests
|
||||
###############################################################################
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(gtest_policy)
|
||||
gtest_discover_tests(gtest_sf_metrics)
|
||||
gtest_discover_tests(gtest_sf_status)
|
||||
|
||||
file(COPY ./test_resource/ DESTINATION ./test_resource/)
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/resource/table_info.conf DESTINATION ./test_resource/)
|
||||
Reference in New Issue
Block a user