main.cpp 380 B

12345678910111213141516171819
  1. #include <cassert>
  2. #include <iostream>
  3. #include <vector>
  4. #include "util/tc_common.h"
  5. #include "util/tc_logger.h"
  6. #include "gtest/gtest.h"
  7. using namespace std;
  8. using namespace tars;
  9. int main(int argc, char** argv)
  10. {
  11. #if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
  12. tars::TC_Common::ignorePipe();
  13. #endif
  14. testing::InitGoogleTest(&argc, argv);
  15. return RUN_ALL_TESTS();
  16. }