tests: debug: Add in-memory coredump backend test scenario
Providing the right config options and a new test scenario, coredump_backends test will run under the in-memory backend. Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
This commit is contained in:
parent
e8185990ac
commit
f17f6af5e6
2 changed files with 12 additions and 0 deletions
7
tests/subsys/debug/coredump_backends/prj_in_memory.conf
Normal file
7
tests/subsys/debug/coredump_backends/prj_in_memory.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_MODE_MINIMAL=y
|
||||
CONFIG_DEBUG_COREDUMP=y
|
||||
CONFIG_DEBUG_COREDUMP_BACKEND_IN_MEMORY=y
|
||||
CONFIG_DEBUG_COREDUMP_BACKEND_IN_MEMORY_SIZE=2048
|
||||
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
|
|
@ -24,6 +24,11 @@ tests:
|
|||
- esp32s2_saola
|
||||
- esp32s3_devkitm/esp32s3/procpu
|
||||
- esp32c3_devkitm
|
||||
debug.coredump.backends.in_memory:
|
||||
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
|
||||
extra_args: CONF_FILE=prj_in_memory.conf
|
||||
extra_configs:
|
||||
- CONFIG_TEST_STORED_COREDUMP=y
|
||||
debug.coredump.backends.other:
|
||||
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
|
||||
extra_args: CONF_FILE=prj_backend_other.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue