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

Function main

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

Source from the content-addressed store, hash-verified

1179} // namespace arrow::internal::integration
1180
1181int 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}

Callers

nothing calls this directly

Calls 3

RunCommandFunction · 0.85
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected