zephyr/tests/arch/common/stack_unwind/testcase.yaml
Daniel Leung 5413270502 tests: stack_unwind/x86: no need to force no optimizations
Previously, forcing no compiler optimizations is required for
x86_64 to unwind stack. However, this is not the case anymore
as long as frame pointers are not omitted. So update custom
kconfigs for x86 in the stack_unwind test.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-05-20 22:37:57 +02:00

80 lines
1.9 KiB
YAML

common:
harness: console
ignore_faults: true
ignore_qemu_crash: true
tags: kernel
tests:
arch.common.stack_unwind.riscv_fp:
arch_allow: riscv
integration_platforms:
- qemu_riscv32e
- qemu_riscv32
- qemu_riscv64
extra_configs:
- CONFIG_FRAME_POINTER=y
harness_config:
type: multi_line
regex:
- "E: call trace:"
- "E: 0: fp: \\w+ ra: \\w+"
- "E: 1: fp: \\w+ ra: \\w+"
arch.common.stack_unwind.riscv_sp:
arch_allow: riscv
integration_platforms:
- qemu_riscv32e
- qemu_riscv32
- qemu_riscv64
harness_config:
type: multi_line
regex:
- "E: call trace:"
- "E: 0: sp: \\w+ ra: \\w+"
- "E: 1: sp: \\w+ ra: \\w+"
arch.common.stack_unwind.x86:
arch_allow: x86
extra_configs:
- CONFIG_OMIT_FRAME_POINTER=n
- CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT=y
integration_platforms:
- qemu_x86
- qemu_x86_64
harness_config:
type: multi_line
regex:
- "E: call trace:"
- "E: 0: \\w+"
- "E: 1: \\w+"
arch.common.stack_unwind.arm64:
arch_allow:
- arm64
integration_platforms:
- qemu_cortex_a53
extra_configs:
- CONFIG_FRAME_POINTER=y
harness_config:
type: multi_line
regex:
- "E: call trace:"
- "E: 0: fp: \\w+ lr: \\w+"
- "E: 1: fp: \\w+ lr: \\w+"
arch.common.stack_unwind.symtab:
arch_allow:
- riscv
- arm64
integration_platforms:
- qemu_riscv32e
- qemu_riscv32
- qemu_riscv64
- qemu_cortex_a53
extra_configs:
- CONFIG_FRAME_POINTER=y
- CONFIG_SYMTAB=y
harness_config:
type: multi_line
regex:
- "\\[func1\\+0x\\w+\\]"
- "\\[func2\\+0x\\w+\\]"
- "\\[func1\\+0x\\w+\\]"
- "\\[func2\\+0x\\w+\\]"
- "\\[func1\\+0x\\w+\\]"