Skip to content

Commit

Permalink
[chiptool.py] Runner is not logging skipped steps as expected (#26681)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Jul 18, 2023
1 parent 82e2019 commit 5582574
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 5582574

Please sign in to comment.