summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers')
-rw-r--r--zephyr/test/drivers/src/isl923x.c14
-rw-r--r--zephyr/test/drivers/src/stubs.c4
2 files changed, 3 insertions, 15 deletions
diff --git a/zephyr/test/drivers/src/isl923x.c b/zephyr/test/drivers/src/isl923x.c
index c2e0f00c76..05737a9af0 100644
--- a/zephyr/test/drivers/src/isl923x.c
+++ b/zephyr/test/drivers/src/isl923x.c
@@ -668,18 +668,10 @@ ZTEST(isl923x, test_init)
"Expected input current 0mV but got %dmV", input_current);
/*
- * Test system_jumped_late being true (will not call
- * set_input_current_limit)
+ * TODO(b/219520539): Test system_jumped_late being true (will not call
+ * set_input_current_limit). It isn't clear how to stimulate the
+ * code in system.c to cause a late jump.
*/
- system_jumped_late_mock.ret_val = true;
- system_jumped_late_mock.call_count = 0;
- isl923x_emul_reset(isl923x_emul);
- isl923x_drv.init(CHARGER_NUM);
- zassert_equal(
- 1, system_jumped_late_mock.call_count,
- "Expected to have called system_jumped_late() once, but got %d calls",
- system_jumped_late_mock.call_count);
- system_jumped_late_mock.ret_val = false;
}
ZTEST(isl923x, test_isl923x_is_acok)
diff --git a/zephyr/test/drivers/src/stubs.c b/zephyr/test/drivers/src/stubs.c
index 4f2ae8f7a9..b9aae5e8ef 100644
--- a/zephyr/test/drivers/src/stubs.c
+++ b/zephyr/test/drivers/src/stubs.c
@@ -423,7 +423,3 @@ int clock_get_freq(void)
{
return 16000000;
}
-
-void system_enter_hibernate(uint32_t seconds, uint32_t microseconds)
-{
-}