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

Function main

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

Source from the content-addressed store, hash-verified

1224} // namespace arrow::internal::integration
1225
1226int 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}

Callers

nothing calls this directly

Calls 3

RunCommandFunction · 0.85
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected