[tools] Print command line invocation in debug log
Useful for debugging errors Change-Id: Ibab5acec4a8e927262dbc12d5d4cc4cd27ebf0ad Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3172754 Auto-Submit: Sathya Gunasekaran <gsathya@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#76961}
This commit is contained in:
parent
c96864e018
commit
62f4d065cb
@ -702,6 +702,7 @@ class DesktopPlatform(Platform):
|
||||
def _Run(self, runnable, count, secondary=False):
|
||||
shell_dir = self.shell_dir_secondary if secondary else self.shell_dir
|
||||
cmd = runnable.GetCommand(self.command_prefix, shell_dir, self.extra_flags)
|
||||
logging.debug('Running command: %s' % cmd)
|
||||
output = cmd.execute()
|
||||
|
||||
if output.IsSuccess() and '--prof' in self.extra_flags:
|
||||
|
Loading…
Reference in New Issue
Block a user