-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: coredump: Extend backends test coverage
Extend coredump_backend tests: * fix COREDUMP_CMD_VERIFY_STORED_DUMP test was not executed. * add tests for these coredump commands: - COREDUMP_QUERY_GET_STORED_DUMP_SIZE, - COREDUMP_CMD_INVALIDATE_STORED_DUMP, - COREDUMP_CMD_ERASE_STORED_DUMP, - COREDUMP_CMD_CLEAR_ERROR. * extend the out-of-the-treee example 'empty' backend to execute the new tests. * fix the test's cmake project name. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
- Loading branch information
Showing
5 changed files
with
213 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2023 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source "Kconfig.zephyr" | ||
|
||
config TEST_STORED_COREDUMP | ||
bool "Expected backend has coredump storage." | ||
default y | ||
help | ||
Test expects coredump backend with storage. | ||
|
||
config TEST_STORED_DUMP_SIZE | ||
int "Expected backend's coredump storage size." | ||
default 0 | ||
help | ||
Test expects coredump backend storage with the size given. | ||
If zero, then it is ignored and not compared with the actual size. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters