Skip to content

Commit

Permalink
Give folly/symbolizer an explicit main function
Browse files Browse the repository at this point in the history
Summary: Don't automatically generate the main function for this test.

Reviewed By: @Gownta

Differential Revision: D2375814
  • Loading branch information
markisaa authored and facebook-github-bot-4 committed Aug 24, 2015
1 parent 0c63ead commit 7b772a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions folly/experimental/symbolizer/test/SignalHandlerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,10 @@ TEST(SignalHandler, Simple) {


}}} // namespaces

// Can't use initFacebookLight since that would install its own signal handlers
// Can't use initFacebookNoSignals since we cannot depend on common
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
7 changes: 7 additions & 0 deletions folly/experimental/symbolizer/test/SymbolizerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,10 @@ TEST_F(ElfCacheTest, SignalSafeElfCache) {
}

}}} // namespaces

// Can't use initFacebookLight since that would install its own signal handlers
// Can't use initFacebookNoSignals since we cannot depend on common
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}

0 comments on commit 7b772a7

Please sign in to comment.