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:
Yong Cong Sin 2024-07-06 17:38:29 +08:00 committed by Anas Nashif
commit 49e8c98996

View file

@ -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+\\]"