Skip to content

Commit

Permalink
fix: hard_reset after fail
Browse files Browse the repository at this point in the history
  • Loading branch information
igor udot (horw) committed Nov 14, 2023
1 parent f3291ce commit a49532f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest-embedded-idf/pytest_embedded_idf/unity_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def wrapper(self, *args, **kwargs):
_timeout = 0
self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=_timeout)
except Exception: # result block missing # noqa
self._hard_reset_func()
pass
else: # result block exists
_log = remove_asci_color_code(self.pexpect_proc.before)
Expand Down

0 comments on commit a49532f

Please sign in to comment.