summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/Kconfig
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2023-02-22 16:33:40 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-20 19:29:11 +0000
commit312f806c07106e61b5b19489999ca627b3e722b2 (patch)
treef6f1ad9aefed8917034a611af0c1d74a8307d7f6 /zephyr/test/drivers/Kconfig
parent5320de037e67eb119f11c1cbb7a62faa089909c6 (diff)
downloadchrome-ec-312f806c07106e61b5b19489999ca627b3e722b2.tar.gz
Reland "zephyr/tests: emulator and tests for sm5803"
This is a reland of commit fd2415cda6a261b92390aad04829f46f33ffc9e6, with sleeps in test_lpm increased from 4 to 10 seconds. This seems to fix the flakiness that was observed, verified with no failures over 8 CQ builds. Original change's description: > zephyr/tests: emulator and tests for sm5803 > > This implements an emulator and some tests for the SM5803 charger. The > current tests do not exercise the driver as comprehensively as intended, > but those will be added in a later change. > > One discovered bug in the driver is fixed, where some interrupts were > disabled immediately after being enabled. > > BUG=b:242544165 > TEST=twister -ciC -s drivers/drivers.sm5803 > BRANCH=nissa > > Change-Id: I9fc6abd26cd1b2e0cbc05b8e45cf94fc83abd08c > Signed-off-by: Peter Marheine <pmarheine@chromium.org> > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290087 > Reviewed-by: Tristan Honscheid <honscheid@google.com> BUG=b:242544165,b:278890420 TEST=`bb add chromeos/cq/firmware-zephyr-cov-cq -commit https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4451846` 8 times, verified success for all builds. Change-Id: Ifd0d486a45be2242023e6efba6457e7907aaedd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4451846 Reviewed-by: Tristan Honscheid <honscheid@google.com> Commit-Queue: Tristan Honscheid <honscheid@google.com> Reviewed-by: Aaron Massey <aaronmassey@google.com> Tested-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/Kconfig')
-rw-r--r--zephyr/test/drivers/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/test/drivers/Kconfig b/zephyr/test/drivers/Kconfig
index 652b36110f..0a39a54ec6 100644
--- a/zephyr/test/drivers/Kconfig
+++ b/zephyr/test/drivers/Kconfig
@@ -247,4 +247,7 @@ config LINK_TEST_SUITE_ANX7452
Include the test suite of ANX7452 retimer in the binary. The tests
use I2C emulation.
+config LINK_TEST_SUITE_SM5803
+ bool "Link and test the SM5803 charger tests"
+
source "Kconfig.zephyr"