(cmd)
| 12 | exit(1) |
| 13 | |
| 14 | def run_r(cmd): |
| 15 | print (cmd) |
| 16 | try: |
| 17 | cmds = cmd.split(' ') |
| 18 | data = subprocess.check_output(cmds, stderr=subprocess.STDOUT) |
| 19 | except subprocess.CalledProcessError as e: |
| 20 | if e.returncode: |
| 21 | print (e.output) |
| 22 | exit(1) |
| 23 | |
| 24 | return data.decode("utf-8") |
| 25 | |
| 26 | def main(): |
| 27 | argparser = argparse.ArgumentParser(description='Tools to test the performance') |
nothing calls this directly
no outgoing calls
no test coverage detected