|
|
|
@ -1230,6 +1230,7 @@ server_context_test_spouse_test: $(BINDIR)/$(CONFIG)/server_context_test_spouse_ |
|
|
|
|
server_crash_test: $(BINDIR)/$(CONFIG)/server_crash_test |
|
|
|
|
server_crash_test_client: $(BINDIR)/$(CONFIG)/server_crash_test_client |
|
|
|
|
server_early_return_test: $(BINDIR)/$(CONFIG)/server_early_return_test |
|
|
|
|
server_interceptors_end2end_test: $(BINDIR)/$(CONFIG)/server_interceptors_end2end_test |
|
|
|
|
server_request_call_test: $(BINDIR)/$(CONFIG)/server_request_call_test |
|
|
|
|
shutdown_test: $(BINDIR)/$(CONFIG)/shutdown_test |
|
|
|
|
slice_hash_table_test: $(BINDIR)/$(CONFIG)/slice_hash_table_test |
|
|
|
@ -1727,6 +1728,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/server_crash_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_crash_test_client \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_early_return_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_interceptors_end2end_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_request_call_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/shutdown_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/slice_hash_table_test \
|
|
|
|
@ -1909,6 +1911,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/server_crash_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_crash_test_client \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_early_return_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_interceptors_end2end_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_request_call_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/shutdown_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/slice_hash_table_test \
|
|
|
|
@ -2401,6 +2404,8 @@ test_cxx: buildtests_cxx |
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/server_crash_test || ( echo test server_crash_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing server_early_return_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/server_early_return_test || ( echo test server_early_return_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing server_interceptors_end2end_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/server_interceptors_end2end_test || ( echo test server_interceptors_end2end_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing server_request_call_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/server_request_call_test || ( echo test server_request_call_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing shutdown_test"
|
|
|
|
@ -20137,6 +20142,49 @@ endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SERVER_INTERCEPTORS_END2END_TEST_SRC = \
|
|
|
|
|
test/cpp/end2end/server_interceptors_end2end_test.cc \
|
|
|
|
|
|
|
|
|
|
SERVER_INTERCEPTORS_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_INTERCEPTORS_END2END_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_interceptors_end2end_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.5.0+.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_interceptors_end2end_test: protobuf_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/server_interceptors_end2end_test: $(PROTOBUF_DEP) $(SERVER_INTERCEPTORS_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(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) $(SERVER_INTERCEPTORS_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(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)/server_interceptors_end2end_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/cpp/end2end/server_interceptors_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(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_server_interceptors_end2end_test: $(SERVER_INTERCEPTORS_END2END_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(SERVER_INTERCEPTORS_END2END_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SERVER_REQUEST_CALL_TEST_SRC = \
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc \
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \
|
|
|
|
|