| 43 | } |
| 44 | |
| 45 | void GetPaths(ifstream& source, Paths64& paths) |
| 46 | { |
| 47 | while (true) |
| 48 | { |
| 49 | string line; |
| 50 | stringstream::pos_type last_read_line_pos = source.tellg(); |
| 51 | if (getline(source, line) && GetPath(line, paths)) |
| 52 | continue; |
| 53 | last_read_line_pos -= 1; // workaround for LF vs LFCR (#764) |
| 54 | source.seekg(last_read_line_pos, ios_base::beg); |
| 55 | break; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | bool LoadTestNum(ifstream &source, int test_num, |
| 60 | Paths64 &subj, Paths64 &subj_open, Paths64 &clip, |
no test coverage detected