tests: arch: common: stack_unwind: fix symtab test
The symtab test should have the `CONFIG_EXCEPTION_STACK_TRACE_SYMTAB` enabled. This was not caught in the CI previously as the regex was also wrong, '[' and ']' are regex syntax and should be escaped. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
cb8db004d7
commit
49e8c98996
1 changed files with 6 additions and 5 deletions
|
@ -63,11 +63,12 @@ tests:
|
|||
- qemu_cortex_a53
|
||||
extra_configs:
|
||||
- CONFIG_FRAME_POINTER=y
|
||||
- CONFIG_EXCEPTION_STACK_TRACE_SYMTAB=y
|
||||
harness_config:
|
||||
type: multi_line
|
||||
regex:
|
||||
- "[func1+\\w+]"
|
||||
- "[func2+\\w+]"
|
||||
- "[func1+\\w+]"
|
||||
- "[func2+\\w+]"
|
||||
- "[func1+\\w+]"
|
||||
- "\\[func1\\+0x\\w+\\]"
|
||||
- "\\[func2\\+0x\\w+\\]"
|
||||
- "\\[func1\\+0x\\w+\\]"
|
||||
- "\\[func2\\+0x\\w+\\]"
|
||||
- "\\[func1\\+0x\\w+\\]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue