|
|
|
@ -1015,7 +1015,8 @@ compression_test: $(BINDIR)/$(CONFIG)/compression_test |
|
|
|
|
concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test |
|
|
|
|
connection_refused_test: $(BINDIR)/$(CONFIG)/connection_refused_test |
|
|
|
|
dns_resolver_connectivity_test: $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test |
|
|
|
|
dns_resolver_cooldown_test: $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test |
|
|
|
|
dns_resolver_cooldown_using_ares_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test |
|
|
|
|
dns_resolver_cooldown_using_native_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test |
|
|
|
|
dns_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_test |
|
|
|
|
dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test |
|
|
|
|
endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test |
|
|
|
@ -1446,7 +1447,8 @@ buildtests_c: privatelibs_c \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/concurrent_connectivity_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/connection_refused_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dualstack_socket_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/endpoint_pair_test \
|
|
|
|
@ -1983,8 +1985,10 @@ test_c: buildtests_c |
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/connection_refused_test || ( echo test connection_refused_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dns_resolver_connectivity_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test || ( echo test dns_resolver_connectivity_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dns_resolver_cooldown_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test || ( echo test dns_resolver_cooldown_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dns_resolver_cooldown_using_ares_resolver_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test || ( echo test dns_resolver_cooldown_using_ares_resolver_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dns_resolver_cooldown_using_native_resolver_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test || ( echo test dns_resolver_cooldown_using_native_resolver_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dns_resolver_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/dns_resolver_test || ( echo test dns_resolver_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing dualstack_socket_test"
|
|
|
|
@ -9641,34 +9645,66 @@ endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_TEST_SRC = \
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_SRC = \
|
|
|
|
|
test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc \
|
|
|
|
|
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_COOLDOWN_TEST_SRC))))
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test: openssl_dep_error |
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test: $(DNS_RESOLVER_COOLDOWN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test: $(DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(LD) $(LDFLAGS) $(DNS_RESOLVER_COOLDOWN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_test
|
|
|
|
|
$(Q) $(LD) $(LDFLAGS) $(DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_ares_resolver_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/client_channel/resolvers/dns_resolver_cooldown_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
deps_dns_resolver_cooldown_test: $(DNS_RESOLVER_COOLDOWN_TEST_OBJS:.o=.dep) |
|
|
|
|
deps_dns_resolver_cooldown_using_ares_resolver_test: $(DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(DNS_RESOLVER_COOLDOWN_TEST_OBJS:.o=.dep) |
|
|
|
|
-include $(DNS_RESOLVER_COOLDOWN_USING_ARES_RESOLVER_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_SRC = \
|
|
|
|
|
test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc \
|
|
|
|
|
|
|
|
|
|
DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test: $(DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(LD) $(LDFLAGS) $(DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dns_resolver_cooldown_using_native_resolver_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/client_channel/resolvers/dns_resolver_cooldown_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
deps_dns_resolver_cooldown_using_native_resolver_test: $(DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(DNS_RESOLVER_COOLDOWN_USING_NATIVE_RESOLVER_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|