| 269 | } // namespace |
| 270 | |
| 271 | int main(int argc, char** argv) { |
| 272 | testing::InitGoogleTest(&argc, argv); |
| 273 | { |
| 274 | auto service = NewConformanceServiceFromFlags(); |
| 275 | auto tests_to_skip = absl::GetFlag(FLAGS_skip_tests); |
| 276 | for (int argi = 1; argi < argc; argi++) { |
| 277 | ABSL_CHECK_OK(RegisterTestsFromFile(service, tests_to_skip, |
| 278 | absl::string_view(argv[argi]))); |
| 279 | } |
| 280 | } |
| 281 | int exit_code = RUN_ALL_TESTS(); |
| 282 | if (absl::GetFlag(FLAGS_dashboard)) { |
| 283 | exit_code = EXIT_SUCCESS; |
| 284 | } |
| 285 | return exit_code; |
| 286 | } |
nothing calls this directly
no test coverage detected