From 3619ec97dd338fea1979f18cc3407ca4dc4aefab Mon Sep 17 00:00:00 2001 From: David Callahan Date: Wed, 8 Jun 2016 18:31:19 -0700 Subject: [PATCH] fix command line parsing Summary: parse command line flags to pick up -json flag Reviewed By: mzlee Differential Revision: D3405794 fbshipit-source-id: e2d216c74f04c15d7470c70abfc2bd25c2ceda98 --- folly/test/ForeachBenchmark.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1