From: David Callahan Date: Thu, 9 Jun 2016 01:31:19 +0000 (-0700) Subject: fix command line parsing X-Git-Tag: 2016.07.26~155 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3619ec97dd338fea1979f18cc3407ca4dc4aefab;p=folly.git fix command line parsing Summary: parse command line flags to pick up -json flag Reviewed By: mzlee Differential Revision: D3405794 fbshipit-source-id: e2d216c74f04c15d7470c70abfc2bd25c2ceda98 --- diff --git a/folly/test/ForeachBenchmark.cpp b/folly/test/ForeachBenchmark.cpp index 73e829ea..dfb24445 100644 --- a/folly/test/ForeachBenchmark.cpp +++ b/folly/test/ForeachBenchmark.cpp @@ -120,6 +120,7 @@ BENCHMARK(ForEachRangeR, iters) { int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); + gflags::ParseCommandLineFlags(&argc, &argv, true); auto r = RUN_ALL_TESTS(); if (r) { return r;