|
|
|
@ -791,9 +791,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx channel_filter_test) |
|
|
|
|
add_dependencies(buildtests_cxx channel_trace_test) |
|
|
|
|
add_dependencies(buildtests_cxx channelz_registry_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx channelz_sampler_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx channelz_service_test) |
|
|
|
|
add_dependencies(buildtests_cxx channelz_test) |
|
|
|
|
add_dependencies(buildtests_cxx cli_call_test) |
|
|
|
@ -9900,62 +9897,6 @@ target_link_libraries(channelz_registry_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(channelz_sampler_test |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
|
|
|
|
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
|
|
|
|
test/cpp/util/channelz_sampler_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(channelz_sampler_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
third_party/googletest/googletest/include |
|
|
|
|
third_party/googletest/googletest |
|
|
|
|
third_party/googletest/googlemock/include |
|
|
|
|
third_party/googletest/googlemock |
|
|
|
|
${_gRPC_PROTO_GENS_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(channelz_sampler_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpcpp_channelz |
|
|
|
|
grpc++_test_util |
|
|
|
|
grpc_test_util |
|
|
|
|
grpc++ |
|
|
|
|
grpc |
|
|
|
|
gpr |
|
|
|
|
address_sorting |
|
|
|
|
upb |
|
|
|
|
${_gRPC_GFLAGS_LIBRARIES} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|