projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692cc4b
)
Remove unecessary int main from MemoryTest
author
Michael Lee
<mzlee@fb.com>
Tue, 1 Mar 2016 15:48:18 +0000
(07:48 -0800)
committer
Facebook Github Bot 0
<facebook-github-bot-0-bot@fb.com>
Tue, 1 Mar 2016 15:50:35 +0000
(07:50 -0800)
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
folly/test/MemoryTest.cpp
patch
|
blob
|
history
diff --git
a/folly/test/MemoryTest.cpp
b/folly/test/MemoryTest.cpp
index afeeac2e046f1d0473cb17a37783a5832d34e85c..d61934024738f0fa1391ebedee4ad171f5b7bf42 100644
(file)
--- 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();
-}