(cmd_args)
| 38 | # Run benchmarks. |
| 39 | |
| 40 | def print_command(cmd_args): |
| 41 | def fix_for_printing(arg): |
| 42 | m = re.match(r'^--([^=]+)=(.*)$', arg) |
| 43 | if m and (' ' in m.group(2) or m.group(2).startswith('-')): |
| 44 | arg = "--{}='{}'".format(m.group(1), m.group(2)) |
| 45 | elif ' ' in arg: |
| 46 | arg = "'{}'".format(arg) |
| 47 | return arg |
| 48 | print(" ".join(map(fix_for_printing, cmd_args))) |
| 49 | |
| 50 | |
| 51 | def start_replay_server(args, sites, discard_output=True): |
no test coverage detected
searching dependent graphs…