Skip to content

Commit

Permalink
[chiptool.py] Runner is not logging skipped steps as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple committed May 19, 2023
1 parent e75e729 commit 657f1ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/tests/yaml/tests_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,13 @@ def test_stop(self, duration: int):
def step_skipped(self, name: str, expression: str):
print(self.__strings.step_skipped.format(index=self.__index, name=_strikethrough(name)))

self.__index += 1
self.__skipped += 1

if self.__use_test_harness_log_format:
print(self.__strings.test_harness_step_start.format(index=self.__index, name=name))
print(self.__strings.test_harness_step_skipped.format(expression=expression))

self.__index += 1
self.__skipped += 1

def step_start(self, name: str):
if self.__use_test_harness_log_format:
print(self.__strings.test_harness_step_start.format(index=self.__index, name=name))
Expand Down

0 comments on commit 657f1ce

Please sign in to comment.