|
|
|
@ -824,6 +824,7 @@ systemtap_dep_error: |
|
|
|
|
stop: |
|
|
|
|
@false
|
|
|
|
|
|
|
|
|
|
alarm_test: $(BINDIR)/$(CONFIG)/alarm_test |
|
|
|
|
algorithm_test: $(BINDIR)/$(CONFIG)/algorithm_test |
|
|
|
|
alloc_test: $(BINDIR)/$(CONFIG)/alloc_test |
|
|
|
|
alpn_test: $(BINDIR)/$(CONFIG)/alpn_test |
|
|
|
@ -1132,6 +1133,7 @@ endif |
|
|
|
|
buildtests: buildtests_c buildtests_cxx buildtests_zookeeper |
|
|
|
|
|
|
|
|
|
buildtests_c: privatelibs_c \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/alarm_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/algorithm_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/alloc_test \
|
|
|
|
|
$(BINDIR)/$(CONFIG)/alpn_test \
|
|
|
|
@ -1359,6 +1361,8 @@ test: test_c test_cxx test_zookeeper |
|
|
|
|
flaky_test: flaky_test_c flaky_test_cxx flaky_test_zookeeper |
|
|
|
|
|
|
|
|
|
test_c: buildtests_c |
|
|
|
|
$(E) "[RUN] Testing alarm_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing algorithm_test"
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/algorithm_test || ( echo test algorithm_test failed ; exit 1 )
|
|
|
|
|
$(E) "[RUN] Testing alloc_test"
|
|
|
|
@ -2454,6 +2458,7 @@ LIBGRPC_SRC = \ |
|
|
|
|
src/core/json/json_reader.c \
|
|
|
|
|
src/core/json/json_string.c \
|
|
|
|
|
src/core/json/json_writer.c \
|
|
|
|
|
src/core/surface/alarm.c \
|
|
|
|
|
src/core/surface/api_trace.c \
|
|
|
|
|
src/core/surface/byte_buffer.c \
|
|
|
|
|
src/core/surface/byte_buffer_reader.c \
|
|
|
|
@ -2758,6 +2763,7 @@ LIBGRPC_UNSECURE_SRC = \ |
|
|
|
|
src/core/json/json_reader.c \
|
|
|
|
|
src/core/json/json_string.c \
|
|
|
|
|
src/core/json/json_writer.c \
|
|
|
|
|
src/core/surface/alarm.c \
|
|
|
|
|
src/core/surface/api_trace.c \
|
|
|
|
|
src/core/surface/byte_buffer.c \
|
|
|
|
|
src/core/surface/byte_buffer_reader.c \
|
|
|
|
@ -5748,6 +5754,38 @@ endif |
|
|
|
|
# All of the test targets, and protoc plugins
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALARM_TEST_SRC = \
|
|
|
|
|
test/core/surface/alarm_test.c \
|
|
|
|
|
|
|
|
|
|
ALARM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/alarm_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/alarm_test: $(ALARM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(LD) $(LDFLAGS) $(ALARM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/alarm_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/surface/alarm_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
-include $(ALARM_TEST_OBJS:.o=.dep) |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALGORITHM_TEST_SRC = \
|
|
|
|
|
test/core/compression/algorithm_test.c \
|
|
|
|
|
|
|
|
|
|