| 55 | #endif |
| 56 | |
| 57 | static bool |
| 58 | tryPath(const os::String &path, bool verbose) |
| 59 | { |
| 60 | bool exists = path.exists(); |
| 61 | if (verbose) { |
| 62 | std::cerr << "info: " << (exists ? "found" : "did not find") << " " << path.str() << "\n"; |
| 63 | } |
| 64 | return exists; |
| 65 | } |
| 66 | |
| 67 | os::String |
| 68 | findProgram(const char *programFilename, bool verbose) |
no test coverage detected