MCPcopy Create free account
hub / github.com/apache/arrow / main

Function main

cpp/src/arrow/integration/json_integration_test.cc:1223–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221} // namespace arrow::internal::integration
1222
1223int 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}

Callers

nothing calls this directly

Calls 3

RunCommandFunction · 0.85
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected