diff options
Diffstat (limited to 'zephyr/test/system_shim/src/no_chosen.c')
-rw-r--r-- | zephyr/test/system_shim/src/no_chosen.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/zephyr/test/system_shim/src/no_chosen.c b/zephyr/test/system_shim/src/no_chosen.c deleted file mode 100644 index 0e41d562b9..0000000000 --- a/zephyr/test/system_shim/src/no_chosen.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2022 The ChromiumOS Authors - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "fakes.h" -#include "system.h" - -#include <zephyr/ztest.h> - -ZTEST(system, test_fail_get_bbram_no_device) -{ - zassert_equal(EC_ERROR_INVAL, system_get_bbram(0, NULL)); -} - -ZTEST(system, test_fail_set_scratchpad) -{ - zassert_equal(-EC_ERROR_INVAL, system_set_scratchpad(0)); -} - -ZTEST(system, test_fail_get_scratchpad) -{ - zassert_equal(-EC_ERROR_INVAL, system_get_scratchpad(NULL)); -} |