Skip to content

Commit 5ed8bb7

Browse files
golowanowMaureenHelm
authored andcommitted
tests: coredump: Adjust logging backend patterns to xtensa
Adjust tests/subsys/debug/coredump logging backend's output matching pattern to Xtensa fatal errors handler's call sequence difference. Signed-off-by: Dmitrii Golovanov <[email protected]>
1 parent fedd23f commit 5ed8bb7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tests/subsys/debug/coredump/testcase.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,40 @@ tests:
77
platform_exclude: acrn_ehl_crb
88
arch_exclude:
99
- posix
10+
- xtensa
1011
integration_platforms:
1112
- qemu_x86
1213
harness: console
1314
harness_config:
1415
type: multi_line
1516
regex:
1617
- "Coredump: (.*)"
18+
- ">>> ZEPHYR FATAL ERROR "
1719
- "E: #CD:BEGIN#"
1820
- "E: #CD:5([aA])45([0-9a-fA-F]+)"
1921
- "E: #CD:41([0-9a-fA-F]+)"
2022
- "E: #CD:4([dD])([0-9a-fA-F]+)"
2123
- "E: #CD:4([dD])([0-9a-fA-F]+)"
2224
- "E: #CD:END#"
2325
- "k_sys_fatal_error_handler"
26+
27+
debug.coredump.logging_backend_xtensa:
28+
tags: coredump
29+
ignore_faults: true
30+
ignore_qemu_crash: true
31+
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
32+
arch_allow:
33+
- xtensa
34+
harness: console
35+
harness_config:
36+
type: multi_line
37+
regex:
38+
- "Coredump: (.*)"
39+
- "E: #CD:BEGIN#"
40+
- "E: #CD:5([aA])45([0-9a-fA-F]+)"
41+
- "E: #CD:41([0-9a-fA-F]+)"
42+
- "E: #CD:4([dD])([0-9a-fA-F]+)"
43+
- "E: #CD:4([dD])([0-9a-fA-F]+)"
44+
- "E: #CD:END#"
45+
- ">>> ZEPHYR FATAL ERROR "
46+
- "k_sys_fatal_error_handler"

0 commit comments

Comments
 (0)