Commit 3619ec97 authored by David Callahan's avatar David Callahan Committed by Facebook Github Bot 8

fix command line parsing

Summary: parse command line flags to pick up -json flag

Reviewed By: mzlee

Differential Revision: D3405794

fbshipit-source-id: e2d216c74f04c15d7470c70abfc2bd25c2ceda98
parent d4c0d267
...@@ -120,6 +120,7 @@ BENCHMARK(ForEachRangeR, iters) { ...@@ -120,6 +120,7 @@ BENCHMARK(ForEachRangeR, iters) {
int main(int argc, char** argv) { int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv); testing::InitGoogleTest(&argc, argv);
gflags::ParseCommandLineFlags(&argc, &argv, true);
auto r = RUN_ALL_TESTS(); auto r = RUN_ALL_TESTS();
if (r) { if (r) {
return r; return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment