From f22baf0e9594d15052564d8fe9823d457af10377 Mon Sep 17 00:00:00 2001 From: Louis Brandy Date: Fri, 10 Apr 2015 17:36:56 -0700 Subject: [PATCH] parse flags in unit tests Summary: This code has useful logging when turned up high enough (e.g. --v=11). But we need to parse the flags to see it. Test Plan: trial & error Reviewed By: yfeldblum@fb.com Subscribers: enis, folly-diffs@, jsedgwick, yfeldblum, darshan, chalfant FB internal diff: D1985965 Signature: t1:1985965:1428713065:4607610ec438416fffb5fced1867efa13544eef0 --- folly/futures/test/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/futures/test/main.cpp b/folly/futures/test/main.cpp index 44a34867..457278f6 100644 --- a/folly/futures/test/main.cpp +++ b/folly/futures/test/main.cpp @@ -15,8 +15,10 @@ */ #include +#include int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); + ::google::ParseCommandLineFlags(&argc, &argv, true); return RUN_ALL_TESTS(); } -- 2.34.1