perftest.cpp 279 B

12345678910
  1. #include "perftest.h"
  2. int main(int argc, char **argv) {
  3. #if _MSC_VER
  4. _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
  5. //void *testWhetherMemoryLeakDetectionWorks = malloc(1);
  6. #endif
  7. ::testing::InitGoogleTest(&argc, argv);
  8. return RUN_ALL_TESTS();
  9. }