Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 2 of 2) sorted by relevance

/toolchain/pgo-profiles/scripts/
Dutils.py33 def unchecked_call(cmd, *args, **kwargs): argument
35 logger().info('unchecked_call: %s', subprocess.list2cmdline(cmd))
36 return subprocess.call(cmd, *args, **kwargs)
39 def check_call(cmd, *args, **kwargs): argument
41 logger().info('check_call: %s', subprocess.list2cmdline(cmd))
42 subprocess.check_call(cmd, *args, **kwargs)
45 def check_output(cmd, *args, **kwargs): argument
47 logger().info('check_output: %s', subprocess.list2cmdline(cmd))
49 cmd, *args, **kwargs, check=True, text=True,
/toolchain/benchmark/
Drun.py177 def check_call_with_log(cmd, log_file): argument
180 log_header = 'Log for command: %s\n' % (cmd)
183 subprocess.check_call(cmd, stdout=logfile)
186 cmd, log_file)
188 logging.info('Logs for %s are written to %s.', cmd, log_file)