1common:
2  harness: console
3  ignore_faults: true
4  ignore_qemu_crash: true
5  tags: kernel
6tests:
7  arch.common.stack_unwind.riscv_fp:
8    arch_allow: riscv
9    integration_platforms:
10      - qemu_riscv32e
11      - qemu_riscv32
12      - qemu_riscv64
13    extra_configs:
14      - CONFIG_FRAME_POINTER=y
15    harness_config:
16      type: multi_line
17      regex:
18        - "E: call trace:"
19        - "E:       0: fp: \\w+ ra: \\w+"
20        - "E:       1: fp: \\w+ ra: \\w+"
21  arch.common.stack_unwind.riscv_sp:
22    arch_allow: riscv
23    integration_platforms:
24      - qemu_riscv32e
25      - qemu_riscv32
26      - qemu_riscv64
27    harness_config:
28      type: multi_line
29      regex:
30        - "E: call trace:"
31        - "E:       0: sp: \\w+ ra: \\w+"
32        - "E:       1: sp: \\w+ ra: \\w+"
33  arch.common.stack_unwind.x86:
34    arch_allow: x86
35    extra_configs:
36      - CONFIG_NO_OPTIMIZATIONS=y
37      - CONFIG_OMIT_FRAME_POINTER=n
38    integration_platforms:
39      - qemu_x86
40      - qemu_x86_64
41    harness_config:
42      type: multi_line
43      regex:
44        - "E: call trace:"
45        - "E:      0: \\w+"
46        - "E:      1: \\w+"
47  arch.common.stack_unwind.arm64:
48    arch_allow:
49      - arm64
50    integration_platforms:
51      - qemu_cortex_a53
52    extra_configs:
53      - CONFIG_FRAME_POINTER=y
54    harness_config:
55      type: multi_line
56      regex:
57        - "E: call trace:"
58        - "E:      0: fp: \\w+ lr: \\w+"
59        - "E:      1: fp: \\w+ lr: \\w+"
60  arch.common.stack_unwind.symtab:
61    arch_allow:
62      - riscv
63      - arm64
64    integration_platforms:
65      - qemu_riscv32e
66      - qemu_riscv32
67      - qemu_riscv64
68      - qemu_cortex_a53
69    extra_configs:
70      - CONFIG_FRAME_POINTER=y
71      - CONFIG_SYMTAB=y
72    harness_config:
73      type: multi_line
74      regex:
75        - "\\[func1\\+0x\\w+\\]"
76        - "\\[func2\\+0x\\w+\\]"
77        - "\\[func1\\+0x\\w+\\]"
78        - "\\[func2\\+0x\\w+\\]"
79        - "\\[func1\\+0x\\w+\\]"
80