summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/src/stubs.c
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-02-09 18:21:00 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-15 16:18:25 +0000
commit62116801c695db22ab79ce7df98c34248d6f1fc1 (patch)
treea28b1ba8ab70662284733bcfa856468e93c2244b /zephyr/test/drivers/src/stubs.c
parent112bc3616b55421af4ae5003c542e9a425128650 (diff)
downloadchrome-ec-62116801c695db22ab79ce7df98c34248d6f1fc1.tar.gz
zephyr: Include common/system.c in posix also
Change arch posix to also include common/system.c This required removing some mocked functions from ztest_system.c, adding others, and making some of them test_mockable for tests that already provided them. There was one test scenario that had to be removed, as it's not clear how to simulate late jump to rw with the real system.c code. Added a TODO to come back and fix that test. BRANCH=None BUG=b:214256453,b:219520539 TEST=zmake testall Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I59be918f95b3e1048c87b6cd504ae48627fd84c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3451273 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/src/stubs.c')
-rw-r--r--zephyr/test/drivers/src/stubs.c4
1 files changed, 0 insertions, 4 deletions
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)
-{
-}