diff options
author | ncteisen <ncteisen@gmail.com> | 2017-08-18 12:27:34 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-08-22 12:24:54 -0700 |
commit | c302eb9840daa13beb51e367d55005bd978ad246 (patch) | |
tree | 9bb945ac2a017ea81378ddb64536a2753a080069 /test/cpp/microbenchmarks/bm_fullstack_trickle.cc | |
parent | e3d6a9a8d45d3180e28a529339f5661fe2526e0a (diff) |
Microbenchmarks work with bazel
Diffstat (limited to 'test/cpp/microbenchmarks/bm_fullstack_trickle.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_fullstack_trickle.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc index 5c44b9751f..135b4710ce 100644 --- a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc +++ b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc @@ -26,6 +26,7 @@ #include "src/proto/grpc/testing/echo.grpc.pb.h" #include "test/cpp/microbenchmarks/fullstack_context_mutators.h" #include "test/cpp/microbenchmarks/fullstack_fixtures.h" +#include "test/cpp/util/test_config.h" extern "C" { #include "src/core/ext/transport/chttp2/transport/chttp2_transport.h" #include "src/core/ext/transport/chttp2/transport/internal.h" @@ -420,6 +421,6 @@ BENCHMARK(BM_PumpUnbalancedUnary_Trickle)->Apply(UnaryTrickleArgs); int main(int argc, char** argv) { ::benchmark::Initialize(&argc, argv); - ::google::ParseCommandLineFlags(&argc, &argv, false); + ::grpc::testing::InitTest(&argc, &argv, false); ::benchmark::RunSpecifiedBenchmarks(); } |