|
|
|
@ -1092,6 +1092,7 @@ memory_usage_server: $(BINDIR)/$(CONFIG)/memory_usage_server |
|
|
|
|
memory_usage_test: $(BINDIR)/$(CONFIG)/memory_usage_test |
|
|
|
|
message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test |
|
|
|
|
minimal_stack_is_minimal_test: $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test |
|
|
|
|
mpmcqueue_test: $(BINDIR)/$(CONFIG)/mpmcqueue_test |
|
|
|
|
multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test |
|
|
|
|
murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test |
|
|
|
|
nanopb_fuzzer_response_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test |
|
|
|
@ -1240,7 +1241,6 @@ memory_test: $(BINDIR)/$(CONFIG)/memory_test |
|
|
|
|
message_allocator_end2end_test: $(BINDIR)/$(CONFIG)/message_allocator_end2end_test |
|
|
|
|
metrics_client: $(BINDIR)/$(CONFIG)/metrics_client |
|
|
|
|
mock_test: $(BINDIR)/$(CONFIG)/mock_test |
|
|
|
|
mpmcqueue_test: $(BINDIR)/$(CONFIG)/mpmcqueue_test |
|
|
|
|
nonblocking_test: $(BINDIR)/$(CONFIG)/nonblocking_test |
|
|
|
|
noop-benchmark: $(BINDIR)/$(CONFIG)/noop-benchmark |
|
|
|
|
optional_test: $(BINDIR)/$(CONFIG)/optional_test |
|
|
|
@ -1516,6 +1516,7 @@ buildtests_c: privatelibs_c \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/memory_usage_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/message_compress_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/multiple_server_queues_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/murmur_hash_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/no_server_test \
|
|
|
|
@ -1707,7 +1708,6 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/message_allocator_end2end_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/metrics_client \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mock_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/nonblocking_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/noop-benchmark \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/optional_test \
|
|
|
|
@ -1871,7 +1871,6 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
|
$(BINDIR)/$(CONFIG)/message_allocator_end2end_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/metrics_client \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mock_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/nonblocking_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/noop-benchmark \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/optional_test \
|
|
|
|
@ -2112,6 +2111,8 @@ test_c: buildtests_c |
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing minimal_stack_is_minimal_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test || ( echo test minimal_stack_is_minimal_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing mpmcqueue_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/mpmcqueue_test || ( echo test mpmcqueue_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing multiple_server_queues_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/multiple_server_queues_test || ( echo test multiple_server_queues_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing murmur_hash_test"
|
|
|
|
@ -2374,8 +2375,6 @@ test_cxx: buildtests_cxx |
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/message_allocator_end2end_test || ( echo test message_allocator_end2end_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing mock_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing mpmcqueue_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/mpmcqueue_test || ( echo test mpmcqueue_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing nonblocking_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/nonblocking_test || ( echo test nonblocking_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing noop-benchmark"
|
|
|
|
@ -12131,6 +12130,38 @@ endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MPMCQUEUE_TEST_SRC = \
|
|
|
|
|
test/core/iomgr/mpmcqueue_test.cc \
|
|
|
|
|
|
|
|
|
|
MPMCQUEUE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MPMCQUEUE_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test: $(MPMCQUEUE_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) $(MPMCQUEUE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/mpmcqueue_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/iomgr/mpmcqueue_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
deps_mpmcqueue_test: $(MPMCQUEUE_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(MPMCQUEUE_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MULTIPLE_SERVER_QUEUES_TEST_SRC = \
|
|
|
|
|
test/core/end2end/multiple_server_queues_test.cc \
|
|
|
|
|
|
|
|
|
@ -17973,49 +18004,6 @@ endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MPMCQUEUE_TEST_SRC = \
|
|
|
|
|
test/core/iomgr/mpmcqueue_test.cc \
|
|
|
|
|
|
|
|
|
|
MPMCQUEUE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MPMCQUEUE_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_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)/mpmcqueue_test: protobuf_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/mpmcqueue_test: $(PROTOBUF_DEP) $(MPMCQUEUE_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.a |
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(LDXX) $(LDFLAGS) $(MPMCQUEUE_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.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/mpmcqueue_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/iomgr/mpmcqueue_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.a |
|
|
|
|
|
|
|
|
|
deps_mpmcqueue_test: $(MPMCQUEUE_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(MPMCQUEUE_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NONBLOCKING_TEST_SRC = \
|
|
|
|
|
test/cpp/end2end/nonblocking_test.cc \
|
|
|
|
|
|
|
|
|
|