|
|
|
@ -790,9 +790,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_c buffer_list_test) |
|
|
|
|
add_dependencies(buildtests_c c_slice_buffer_test) |
|
|
|
|
add_dependencies(buildtests_c channel_stack_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c client_ssl_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c cmdline_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c combiner_test) |
|
|
|
@ -823,9 +820,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_c format_request_test) |
|
|
|
|
add_dependencies(buildtests_c goaway_server_test) |
|
|
|
|
add_dependencies(buildtests_c grpc_ipv6_loopback_available_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c handshake_server_with_readahead_handshaker_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c histogram_test) |
|
|
|
|
add_dependencies(buildtests_c host_port_test) |
|
|
|
|
add_dependencies(buildtests_c hpack_encoder_test) |
|
|
|
@ -850,9 +844,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c resolve_address_using_native_resolver_posix_test) |
|
|
|
|
endif() |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c server_ssl_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c slice_string_helpers_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c socket_utils_test) |
|
|
|
@ -956,6 +947,9 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx client_lb_end2end_test) |
|
|
|
|
endif() |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx client_ssl_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx codegen_test_full) |
|
|
|
|
add_dependencies(buildtests_cxx codegen_test_minimal) |
|
|
|
|
add_dependencies(buildtests_cxx completion_queue_threading_test) |
|
|
|
@ -1029,6 +1023,9 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx grpclb_end2end_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx h2_ssl_session_reuse_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx handshake_server_with_readahead_handshaker_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx head_of_line_blocking_bad_client_test) |
|
|
|
|
add_dependencies(buildtests_cxx headers_bad_client_test) |
|
|
|
|
add_dependencies(buildtests_cxx health_service_end2end_test) |
|
|
|
@ -1138,6 +1135,9 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx server_request_call_test) |
|
|
|
|
endif() |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx server_ssl_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx server_test) |
|
|
|
|
add_dependencies(buildtests_cxx service_config_end2end_test) |
|
|
|
|
add_dependencies(buildtests_cxx service_config_test) |
|
|
|
@ -4584,35 +4584,6 @@ target_link_libraries(channel_stack_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(client_ssl_test |
|
|
|
|
test/core/handshake/client_ssl.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(client_ssl_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_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(client_ssl_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -5076,36 +5047,6 @@ target_link_libraries(grpc_ipv6_loopback_available_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(handshake_server_with_readahead_handshaker_test |
|
|
|
|
test/core/handshake/readahead_handshaker_server_ssl.cc |
|
|
|
|
test/core/handshake/server_ssl_common.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(handshake_server_with_readahead_handshaker_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_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(handshake_server_with_readahead_handshaker_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -5606,36 +5547,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(server_ssl_test |
|
|
|
|
test/core/handshake/server_ssl.cc |
|
|
|
|
test/core/handshake/server_ssl_common.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(server_ssl_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_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(server_ssl_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
@ -8731,6 +8642,43 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(client_ssl_test |
|
|
|
|
test/core/handshake/client_ssl.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(client_ssl_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_XXHASH_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(client_ssl_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
@ -11621,6 +11569,44 @@ target_link_libraries(h2_ssl_session_reuse_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(handshake_server_with_readahead_handshaker_test |
|
|
|
|
test/core/handshake/readahead_handshaker_server_ssl.cc |
|
|
|
|
test/core/handshake/server_ssl_common.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(handshake_server_with_readahead_handshaker_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_XXHASH_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(handshake_server_with_readahead_handshaker_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -15572,6 +15558,44 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(server_ssl_test |
|
|
|
|
test/core/handshake/server_ssl.cc |
|
|
|
|
test/core/handshake/server_ssl_common.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(server_ssl_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_XXHASH_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(server_ssl_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|