proxygen
TestMain.cpp File Reference
#include <folly/portability/GTest.h>
#include <folly/portability/GFlags.h>
#include <glog/logging.h>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 15 of file TestMain.cpp.

References testing::InitGoogleTest(), and RUN_ALL_TESTS().

15  {
17  gflags::ParseCommandLineFlags(&argc, &argv, true);
18  google::InitGoogleLogging(argv[0]);
19  google::InstallFailureSignalHandler();
20  LOG(INFO) << "Running tests from TestMain.cpp";
21  return RUN_ALL_TESTS();
22 }
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
char ** argv
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:5370