| 174 | } |
| 175 | |
| 176 | int main(int argc, char** argv) { |
| 177 | if (argc != 2) { |
| 178 | // Fake success for CI purposes. |
| 179 | return EXIT_SUCCESS; |
| 180 | } |
| 181 | |
| 182 | std::string path_to_file = argv[1]; |
| 183 | arrow::Status status = RunExamples(path_to_file); |
| 184 | |
| 185 | if (!status.ok()) { |
| 186 | std::cerr << "Error occurred: " << status.message() << std::endl; |
| 187 | return EXIT_FAILURE; |
| 188 | } |
| 189 | return EXIT_SUCCESS; |
| 190 | } |
nothing calls this directly
no test coverage detected