Commit 87cc506c authored by Liviu Rau's avatar Liviu Rau Committed by Commit Bot

[test] Be even more verbose when killing hanging tests fails

Fixed problem with to_string

Bug: v8:9855
Change-Id: I5fdd9e77e78a77ab5a9aad833d8ac71bebd1a291
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1886910Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Liviu Rau <liviurau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64613}
parent 74565bf3
...@@ -134,7 +134,7 @@ class BaseCommand(object): ...@@ -134,7 +134,7 @@ class BaseCommand(object):
self._kill_process(process) self._kill_process(process)
except OSError as e: except OSError as e:
print(e) print(e)
started_as = self._to_args_list().to_string(relative=True) started_as = self.to_string(relative=True)
print("Unruly process started as:\n %s\n" % started_as) print("Unruly process started as:\n %s\n" % started_as)
sys.stdout.flush() sys.stdout.flush()
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment