12345678910111213141516171819202122232425262728293031323334 |
- #include <gflags/gflags.h>
- #include "gtest/gtest.h"
- #include "cnstream_logging.hpp"
- #include "test_base.hpp"
- int main(int argc, char **argv) {
- cnstream::InitCNStreamLogging(GetExePath().c_str());
- testing::InitGoogleTest(&argc, argv);
- ::gflags::ParseCommandLineFlags(&argc, &argv, false);
-
- int ret = RUN_ALL_TESTS();
- cnstream::ShutdownCNStreamLogging();
- return ret;
- }
|