diff --git a/tests/arch/common/stack_unwind/enable_fp.conf b/tests/arch/common/stack_unwind/enable_fp.conf new file mode 100644 index 00000000000..5348bd11370 --- /dev/null +++ b/tests/arch/common/stack_unwind/enable_fp.conf @@ -0,0 +1,2 @@ +CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT=y +CONFIG_OMIT_FRAME_POINTER=n diff --git a/tests/arch/common/stack_unwind/prj.conf b/tests/arch/common/stack_unwind/prj.conf index 31d2f11f46f..8ac350b3c97 100644 --- a/tests/arch/common/stack_unwind/prj.conf +++ b/tests/arch/common/stack_unwind/prj.conf @@ -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 diff --git a/tests/arch/common/stack_unwind/testcase.yaml b/tests/arch/common/stack_unwind/testcase.yaml index 7d963bed29c..b935b5c596e 100644 --- a/tests/arch/common/stack_unwind/testcase.yaml +++ b/tests/arch/common/stack_unwind/testcase.yaml @@ -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: