From: Michael Lee Date: Tue, 1 Mar 2016 15:48:18 +0000 (-0800) Subject: Remove unecessary int main from MemoryTest X-Git-Tag: deprecate-dynamic-initializer~30 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b363d9f7a37c23ad345861025ed07cf437adedaa;p=folly.git Remove unecessary int main from MemoryTest Summary: We do not need this main function, so remove it. Reviewed By: markisaa Differential Revision: D2992000 fb-gh-sync-id: 30bc0734af0f61e047276dab9639ae29cc999bbb shipit-source-id: 30bc0734af0f61e047276dab9639ae29cc999bbb --- diff --git a/folly/test/MemoryTest.cpp b/folly/test/MemoryTest.cpp index afeeac2e..d6193402 100644 --- a/folly/test/MemoryTest.cpp +++ b/folly/test/MemoryTest.cpp @@ -93,11 +93,3 @@ TEST(rebind_allocator, sanity_check) { s.reset(); ASSERT_EQ(nullptr, s.get()); } - -int main(int argc, char **argv) { - FLAGS_logtostderr = true; - google::InitGoogleLogging(argv[0]); - testing::InitGoogleTest(&argc, argv); - - return RUN_ALL_TESTS(); -}