| 1179 | } // namespace arrow::internal::integration |
| 1180 | |
| 1181 | int main(int argc, char** argv) { |
| 1182 | gflags::ParseCommandLineFlags(&argc, &argv, true); |
| 1183 | |
| 1184 | int ret = 0; |
| 1185 | |
| 1186 | if (FLAGS_integration) { |
| 1187 | arrow::Status result = |
| 1188 | arrow::internal::integration::RunCommand(FLAGS_json, FLAGS_arrow, FLAGS_mode); |
| 1189 | if (!result.ok()) { |
| 1190 | std::cout << "Error message: " << result.ToString() << std::endl; |
| 1191 | ret = 1; |
| 1192 | } |
| 1193 | } else { |
| 1194 | ::testing::InitGoogleTest(&argc, argv); |
| 1195 | ret = RUN_ALL_TESTS(); |
| 1196 | } |
| 1197 | gflags::ShutDownCommandLineFlags(); |
| 1198 | return ret; |
| 1199 | } |
nothing calls this directly
no test coverage detected