| 130 | } |
| 131 | |
| 132 | int main(int argc, char *argv[]) { |
| 133 | tensorflow::Env *env = tensorflow::Env::Default(); |
| 134 | static const char usage[] = "usage: platform_strings_test [file...]"; |
| 135 | int rc = 0; |
| 136 | tensorflow::port::InitMain(usage, &argc, &argv); |
| 137 | if (argc == 1) { |
| 138 | printf("rc=%d\n", PrintStrings(env->GetExecutablePath())); |
| 139 | rc = RunTest(env->GetExecutablePath()); |
| 140 | } else { |
| 141 | for (int argn = 1; argn != argc; argn++) { |
| 142 | rc |= PrintStrings(argv[argn]); |
| 143 | } |
| 144 | } |
| 145 | return rc; |
| 146 | } |
nothing calls this directly
no test coverage detected