|
|
|
@ -1458,7 +1458,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_event_engine_posix_timer_heap_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_event_engine_posix_timer_list_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_event_engine_slice_buffer_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_gpr_time_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_gprpp_time_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_iomgr_timer_heap_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_security_credentials_test) |
|
|
|
@ -1468,6 +1467,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_cxx test_core_transport_test_suite_chaotic_good_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx test_core_util_time_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_client_credentials_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_end2end_ssl_credentials_test) |
|
|
|
|
add_dependencies(buildtests_cxx test_cpp_ext_chaotic_good_test) |
|
|
|
@ -6313,7 +6313,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(alloc_test |
|
|
|
|
test/core/gpr/alloc_test.cc |
|
|
|
|
test/core/util/alloc_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -11722,7 +11722,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(cpu_test |
|
|
|
|
test/core/gpr/cpu_test.cc |
|
|
|
|
test/core/util/cpu_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -12918,7 +12918,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(env_test |
|
|
|
|
test/core/gpr/env_test.cc |
|
|
|
|
test/core/util/env_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -19118,7 +19118,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(log_test |
|
|
|
|
test/core/gpr/log_test.cc |
|
|
|
|
test/core/util/log_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -28540,7 +28540,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(spinlock_test |
|
|
|
|
test/core/gpr/spinlock_test.cc |
|
|
|
|
test/core/util/spinlock_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -29286,7 +29286,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(string_test |
|
|
|
|
test/core/gpr/string_test.cc |
|
|
|
|
test/core/util/string_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -29371,7 +29371,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(sync_test |
|
|
|
|
test/core/gpr/sync_test.cc |
|
|
|
|
test/core/util/sync_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
@ -29998,48 +29998,6 @@ target_link_libraries(test_core_event_engine_slice_buffer_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(test_core_gpr_time_test |
|
|
|
|
test/core/gpr/time_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
|
target_compile_definitions(test_core_gpr_time_test |
|
|
|
|
PRIVATE |
|
|
|
|
"GPR_DLL_IMPORTS" |
|
|
|
|
"GRPC_DLL_IMPORTS" |
|
|
|
|
) |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
target_compile_features(test_core_gpr_time_test PUBLIC cxx_std_14) |
|
|
|
|
target_include_directories(test_core_gpr_time_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(test_core_gpr_time_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
gtest |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -30387,6 +30345,48 @@ endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(test_core_util_time_test |
|
|
|
|
test/core/util/time_test.cc |
|
|
|
|
) |
|
|
|
|
if(WIN32 AND MSVC) |
|
|
|
|
if(BUILD_SHARED_LIBS) |
|
|
|
|
target_compile_definitions(test_core_util_time_test |
|
|
|
|
PRIVATE |
|
|
|
|
"GPR_DLL_IMPORTS" |
|
|
|
|
"GRPC_DLL_IMPORTS" |
|
|
|
|
) |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
target_compile_features(test_core_util_time_test PUBLIC cxx_std_14) |
|
|
|
|
target_include_directories(test_core_util_time_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(test_core_util_time_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
gtest |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(test_cpp_client_credentials_test |
|
|
|
|
test/cpp/client/credentials_test.cc |
|
|
|
|
test/cpp/util/tls_test_utils.cc |
|
|
|
@ -32064,7 +32064,7 @@ endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(useful_test |
|
|
|
|
test/core/gpr/useful_test.cc |
|
|
|
|
test/core/util/useful_test.cc |
|
|
|
|
) |
|
|
|
|
target_compile_features(useful_test PUBLIC cxx_std_14) |
|
|
|
|
target_include_directories(useful_test |
|
|
|
|