| 102 | } |
| 103 | |
| 104 | int main(int argc, char** argv) { |
| 105 | gflags::ParseCommandLineFlags(&argc, &argv, true); |
| 106 | |
| 107 | if (FLAGS_port < 0) { |
| 108 | // For CI |
| 109 | std::cout << "Must specify a port with -port" << std::endl; |
| 110 | return EXIT_SUCCESS; |
| 111 | } |
| 112 | |
| 113 | auto status = RunFlightGrpc(); |
| 114 | if (!status.ok()) { |
| 115 | std::cerr << status.ToString() << std::endl; |
| 116 | return EXIT_FAILURE; |
| 117 | } |
| 118 | |
| 119 | return EXIT_SUCCESS; |
| 120 | } |
nothing calls this directly
no test coverage detected