|
|
|
@ -1180,6 +1180,7 @@ stress_test: $(BINDIR)/$(CONFIG)/stress_test |
|
|
|
|
thread_manager_test: $(BINDIR)/$(CONFIG)/thread_manager_test |
|
|
|
|
thread_stress_test: $(BINDIR)/$(CONFIG)/thread_stress_test |
|
|
|
|
transport_pid_controller_test: $(BINDIR)/$(CONFIG)/transport_pid_controller_test |
|
|
|
|
vector_test: $(BINDIR)/$(CONFIG)/vector_test |
|
|
|
|
writes_per_rpc_test: $(BINDIR)/$(CONFIG)/writes_per_rpc_test |
|
|
|
|
public_headers_must_be_c89: $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 |
|
|
|
|
gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables |
|
|
|
@ -1620,6 +1621,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/thread_manager_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/thread_stress_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/transport_pid_controller_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/vector_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/writes_per_rpc_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/boringssl_aes_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/boringssl_asn1_test \
|
|
|
|
@ -1749,6 +1751,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/thread_manager_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/thread_stress_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/transport_pid_controller_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/vector_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/writes_per_rpc_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/resolver_component_test_unsecure \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/resolver_component_test \
|
|
|
|
@ -2167,6 +2170,8 @@ test_cxx: buildtests_cxx |
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/thread_stress_test || ( echo test thread_stress_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing transport_pid_controller_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/transport_pid_controller_test || ( echo test transport_pid_controller_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing vector_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/vector_test || ( echo test vector_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing writes_per_rpc_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/writes_per_rpc_test || ( echo test writes_per_rpc_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing resolver_component_tests_runner_invoker_unsecure"
|
|
|
|
@ -17260,6 +17265,49 @@ endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VECTOR_TEST_SRC = \
|
|
|
|
|
test/core/support/vector_test.cc \
|
|
|
|
|
|
|
|
|
|
VECTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(VECTOR_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/vector_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(NO_PROTOBUF),true) |
|
|
|
|
|
|
|
|
|
# You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/vector_test: protobuf_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/vector_test: $(PROTOBUF_DEP) $(VECTOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(LDXX) $(LDFLAGS) $(VECTOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/vector_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/support/vector_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
deps_vector_test: $(VECTOR_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(VECTOR_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITES_PER_RPC_TEST_SRC = \
|
|
|
|
|
test/cpp/performance/writes_per_rpc_test.cc \
|
|
|
|
|
|
|
|
|
|