From 7a6f60e564b36548e5a51dc4c97bec36738770f7 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 4 Apr 2016 20:59:02 -0700 Subject: More controllable squelching --- test/core/end2end/fuzzers/server_fuzzer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/core') diff --git a/test/core/end2end/fuzzers/server_fuzzer.c b/test/core/end2end/fuzzers/server_fuzzer.c index 2d590a3e0f..393d33033b 100644 --- a/test/core/end2end/fuzzers/server_fuzzer.c +++ b/test/core/end2end/fuzzers/server_fuzzer.c @@ -37,6 +37,8 @@ #include "src/core/lib/surface/server.h" #include "test/core/util/mock_endpoint.h" +static const bool squelch = true; + static void discard_write(gpr_slice slice) {} static void *tag(int n) { return (void *)(uintptr_t)n; } @@ -46,7 +48,7 @@ static void dont_log(gpr_log_func_args *args) {} int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { grpc_test_only_set_metadata_hash_seed(0); - gpr_set_log_function(dont_log); + if (squelch) gpr_set_log_function(dont_log); grpc_init(); grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; -- cgit v1.2.3