(stdout, filename)
| 19 | # Get Visual Studio configurations checking a file |
| 20 | # Checking {file} {config}... |
| 21 | def __getVsConfigs(stdout, filename): |
| 22 | ret = [] |
| 23 | for line in stdout.split('\n'): |
| 24 | if not line.startswith('Checking %s ' % filename): |
| 25 | continue |
| 26 | if not line.endswith('...'): |
| 27 | continue |
| 28 | res = re.match(r'.* ([A-Za-z0-9|]+)...', line) |
| 29 | if res: |
| 30 | ret.append(res.group(1)) |
| 31 | ret.sort() |
| 32 | return ' '.join(ret) |
| 33 | |
| 34 | def test_relative_path(): |
| 35 | args = [ |
no test coverage detected