diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-02-01 17:02:16 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-02 19:05:28 +0000 |
commit | 8b1cf840571d7a47b44ededa74c8ed1814deead1 (patch) | |
tree | 32a5fa64f1f0e1e8362978c0801ebe52abebb86b /board/gimble | |
parent | 5bff631a9d22a0cee449b7f872bbfacb6d09a5c4 (diff) | |
download | chrome-ec-stabilize-14496.B-main.tar.gz |
zephyr: Do not call power_set_state in testsstabilize-14496.B-main
Change tests to not call power_set_state() as it doesn't actually change
the power state, since the chipset_task only reads the state once and
then keeps the state in a local var.
There are a few exceptions to this. Some tests run before chipset_task
is started, those continue to use power_set_state(). Also the hibernate
tests make some redundant calls to set state to G3 when it already is
in that state, just to reset the last_shutdown_time. Otherwise the
g3 time will be unpredictable.
Fixed test_set_chipset_to_s0 to actually coax the chipset_task to go to
S0.
BRANCH=None
BUG=b:214256453
TEST=zmake testall
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I04ea6f73fcf784f20e53049eb3276173efd2655f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3430309
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/gimble')
0 files changed, 0 insertions, 0 deletions