Commit 3df2b3ad authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[test] make test runner less passive-aggressive

Change-Id: I31d5dddd74aa8b1bcd386a13fe34449dd6933547
Reviewed-on: https://chromium-review.googlesource.com/919163Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51293}
parent 50151a1e
......@@ -25,11 +25,8 @@ class SignalProc(base.TestProcObserver):
self._on_event()
def _on_ctrlc(self, _signum, _stack_frame):
if not self._ctrlc:
print '>>> Ctrl-C detected, waiting for ongoing tests to finish...'
self._ctrlc = True
else:
print '>>> Pressing Ctrl-C again won\'t make this faster...'
print '>>> Ctrl-C detected, waiting for ongoing tests to finish...'
self._ctrlc = True
def _on_event(self):
if self._ctrlc:
......
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