|
|
|
@ -815,23 +815,16 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c fling_test) |
|
|
|
|
endif() |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c fork_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c format_request_test) |
|
|
|
|
add_dependencies(buildtests_c goaway_server_test) |
|
|
|
|
add_dependencies(buildtests_c grpc_ipv6_loopback_available_test) |
|
|
|
|
add_dependencies(buildtests_c histogram_test) |
|
|
|
|
add_dependencies(buildtests_c host_port_test) |
|
|
|
|
add_dependencies(buildtests_c hpack_encoder_test) |
|
|
|
|
add_dependencies(buildtests_c inproc_callback_test) |
|
|
|
|
add_dependencies(buildtests_c invalid_call_argument_test) |
|
|
|
|
add_dependencies(buildtests_c load_file_test) |
|
|
|
|
add_dependencies(buildtests_c message_compress_test) |
|
|
|
|
add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c mpscq_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c multiple_server_queues_test) |
|
|
|
|
add_dependencies(buildtests_c murmur_hash_test) |
|
|
|
|
add_dependencies(buildtests_c no_server_test) |
|
|
|
@ -866,7 +859,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_c test_core_iomgr_time_averaged_stats_test) |
|
|
|
|
add_dependencies(buildtests_c test_core_iomgr_timer_heap_test) |
|
|
|
|
add_dependencies(buildtests_c test_core_iomgr_timer_list_test) |
|
|
|
|
add_dependencies(buildtests_c thd_test) |
|
|
|
|
add_dependencies(buildtests_c varint_test) |
|
|
|
|
|
|
|
|
|
add_custom_target(buildtests_cxx) |
|
|
|
@ -990,6 +982,9 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx flaky_network_test) |
|
|
|
|
add_dependencies(buildtests_cxx flow_control_test) |
|
|
|
|
add_dependencies(buildtests_cxx for_each_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx fork_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx frame_handler_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx fuzzing_event_engine_test) |
|
|
|
@ -1028,6 +1023,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
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) |
|
|
|
|
add_dependencies(buildtests_cxx host_port_test) |
|
|
|
|
add_dependencies(buildtests_cxx hpack_parser_table_test) |
|
|
|
|
add_dependencies(buildtests_cxx hpack_parser_test) |
|
|
|
|
add_dependencies(buildtests_cxx http2_client) |
|
|
|
@ -1070,6 +1066,9 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx miscompile_with_no_unique_address_test) |
|
|
|
|
add_dependencies(buildtests_cxx mock_stream_test) |
|
|
|
|
add_dependencies(buildtests_cxx mock_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx mpscq_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx nonblocking_test) |
|
|
|
|
add_dependencies(buildtests_cxx num_external_connectivity_watchers_test) |
|
|
|
|
add_dependencies(buildtests_cxx observable_test) |
|
|
|
@ -1181,6 +1180,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_server_credentials_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_util_slice_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_util_time_test) |
|
|
|
|
add_dependencies(buildtests_cxx thd_test) |
|
|
|
|
add_dependencies(buildtests_cxx thread_manager_test) |
|
|
|
|
add_dependencies(buildtests_cxx thread_quota_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
@ -4928,35 +4928,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(fork_test |
|
|
|
|
test/core/gprpp/fork_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(fork_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(fork_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
@ -5071,33 +5042,6 @@ target_link_libraries(histogram_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(host_port_test |
|
|
|
|
test/core/gprpp/host_port_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(host_port_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(host_port_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -5261,35 +5205,6 @@ target_link_libraries(minimal_stack_is_minimal_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(mpscq_test |
|
|
|
|
test/core/gprpp/mpscq_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(mpscq_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(mpscq_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -5908,33 +5823,6 @@ target_link_libraries(test_core_iomgr_timer_list_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(thd_test |
|
|
|
|
test/core/gprpp/thd_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(thd_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(thd_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -10269,6 +10157,43 @@ target_link_libraries(for_each_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(fork_test |
|
|
|
|
test/core/gprpp/fork_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(fork_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(fork_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -11690,6 +11615,41 @@ target_link_libraries(health_service_end2end_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(host_port_test |
|
|
|
|
test/core/gprpp/host_port_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(host_port_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(host_port_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -13215,6 +13175,43 @@ target_link_libraries(mock_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
add_executable(mpscq_test |
|
|
|
|
test/core/gprpp/mpscq_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(mpscq_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(mpscq_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -17173,6 +17170,41 @@ target_link_libraries(test_cpp_util_time_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(thd_test |
|
|
|
|
test/core/gprpp/thd_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(thd_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(thd_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|