| 1224 | } // namespace arrow::internal::integration |
| 1225 | |
| 1226 | int main(int argc, char** argv) { |
| 1227 | gflags::ParseCommandLineFlags(&argc, &argv, true); |
| 1228 | |
| 1229 | int ret = 0; |
| 1230 | |
| 1231 | if (FLAGS_integration) { |
| 1232 | arrow::Status result = |
| 1233 | arrow::internal::integration::RunCommand(FLAGS_json, FLAGS_arrow, FLAGS_mode); |
| 1234 | if (!result.ok()) { |
| 1235 | std::cout << "Error message: " << result.ToString() << std::endl; |
| 1236 | ret = 1; |
| 1237 | } |
| 1238 | } else { |
| 1239 | ::testing::InitGoogleTest(&argc, argv); |
| 1240 | ret = RUN_ALL_TESTS(); |
| 1241 | } |
| 1242 | gflags::ShutDownCommandLineFlags(); |
| 1243 | return ret; |
| 1244 | } |
nothing calls this directly
no test coverage detected