Add output for skipped tasks

pull/35370/head
Allyson Bowles 6 years ago committed by Brian Coca
parent 219f1b8380
commit 21859c06b9

@ -109,6 +109,14 @@ class CallbackModule(CallbackBase):
self._display.display(msg)
def v2_runner_on_skipped(self, result, ignore_errors=False):
self._preprocess_result(result)
display_color = C.COLOR_SKIP
msg = "skipped"
task_result = self._process_result_output(result, msg)
self._display.display(" " + task_result, display_color)
def v2_runner_on_failed(self, result, ignore_errors=False):
self._preprocess_result(result)
display_color = C.COLOR_ERROR
@ -128,6 +136,9 @@ class CallbackModule(CallbackBase):
task_result = self._process_result_output(result, msg)
self._display.display(" " + task_result, display_color)
def v2_runner_item_on_skipped(self, result):
self.v2_runner_on_skipped(result)
def v2_runner_item_on_failed(self, result):
self.v2_runner_on_failed(result)

Loading…
Cancel
Save