diff options
author | Jett Rink <jettrink@chromium.org> | 2020-07-09 14:45:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-10 22:21:55 +0000 |
commit | 0f713b36be38449cddea2196d1a135d7bdcfb82a (patch) | |
tree | 039710aee8c2d3c2b6108e26e8b54da36243592c /include/usb_pe_sm.h | |
parent | 3b05afd87d249c1318989fda9d0e341ab0d69f91 (diff) | |
download | chrome-ec-0f713b36be38449cddea2196d1a135d7bdcfb82a.tar.gz |
tests: reset the PD task before every test case
In order to isolate each test and make each test run from a
clean state, reuse the TASK_RESET_DONE event to signal to
the test code that we should just jump back to the beginning
of the PD task
BRANCH=none
BUG=none
TEST=see that tests are reset in child CLs
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: I3c0408ab0dbc3ad3a26f17aadbda1577ffc7d32f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2290650
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
0 files changed, 0 insertions, 0 deletions