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