diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-11-20 16:30:48 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-11-20 16:30:48 -0800 |
commit | 388816a86a1394f4315b9319d6c8fcdb38752deb (patch) | |
tree | 764aadda770783e56930792275503b27b091f374 | |
parent | 34eb4b110f57e6b08d21a9d23509a937b7a92a4f (diff) |
This is needed to link on mac
-rw-r--r-- | test/core/compression/message_compress_test.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/core/compression/message_compress_test.c b/test/core/compression/message_compress_test.c index 98da6a1eaa..dfaed8484e 100644 --- a/test/core/compression/message_compress_test.c +++ b/test/core/compression/message_compress_test.c @@ -36,10 +36,12 @@ #include <stdlib.h> #include <string.h> -#include "test/core/util/test_config.h" -#include "src/core/support/murmur_hash.h" +#include <grpc/grpc.h> #include <grpc/support/log.h> #include <grpc/support/useful.h> + +#include "test/core/util/test_config.h" +#include "src/core/support/murmur_hash.h" #include "test/core/util/slice_splitter.h" typedef enum { ONE_A = 0, ONE_KB_A, ONE_MB_A, TEST_VALUE_COUNT } test_value; @@ -175,6 +177,7 @@ int main(int argc, char **argv) { GRPC_SLICE_SPLIT_ONE_BYTE}; grpc_test_init(argc, argv); + grpc_init(); for (i = 0; i < GRPC_COMPRESS_ALGORITHMS_COUNT; i++) { for (j = 0; j < GPR_ARRAY_SIZE(uncompressed_split_modes); j++) { @@ -189,6 +192,7 @@ int main(int argc, char **argv) { } test_bad_data(); + grpc_shutdown(); return 0; } |