tests: arch: common: stack_unwind: cleanup Kconfig
Refactor to cleanup some Kconfigs that are not required by certain architectures to produce the traces. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
9a4698159d
commit
8c8123466a
3 changed files with 5 additions and 4 deletions
2
tests/arch/common/stack_unwind/enable_fp.conf
Normal file
2
tests/arch/common/stack_unwind/enable_fp.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT=y
|
||||
CONFIG_OMIT_FRAME_POINTER=n
|
|
@ -4,8 +4,5 @@ CONFIG_LOG=y
|
|||
CONFIG_LOG_BUFFER_SIZE=2048
|
||||
|
||||
CONFIG_EXCEPTION_STACK_TRACE=y
|
||||
CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT=y
|
||||
CONFIG_OMIT_FRAME_POINTER=n
|
||||
CONFIG_DEBUG=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_OPTIMIZATIONS=y
|
||||
|
|
|
@ -9,6 +9,7 @@ tests:
|
|||
integration_platforms:
|
||||
- qemu_riscv32
|
||||
- qemu_riscv64
|
||||
extra_args: OVERLAY_CONFIG="enable_fp.conf"
|
||||
harness_config:
|
||||
type: multi_line
|
||||
regex:
|
||||
|
@ -27,11 +28,12 @@ tests:
|
|||
regex:
|
||||
- "E: call trace:"
|
||||
- "E: (E|R)IP: \\w+"
|
||||
arch.common.stack_unwind.arm:
|
||||
arch.common.stack_unwind.arm64:
|
||||
arch_allow:
|
||||
- arm64
|
||||
integration_platforms:
|
||||
- qemu_cortex_a53
|
||||
extra_args: OVERLAY_CONFIG="enable_fp.conf"
|
||||
harness_config:
|
||||
type: multi_line
|
||||
regex:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue