mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 23:41:56 +00:00
The mpu_stack_guard sample was failing in both configurations on arm platforms. Fix the regexes in sample.yaml so they work on multiple architectures. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
30 lines
798 B
YAML
30 lines
798 B
YAML
sample:
|
|
name: MPU Stack Guard
|
|
tests:
|
|
test:
|
|
tags: apps
|
|
harness: console
|
|
# We do not handle segfaults here
|
|
arch_exclude: posix riscv32 nios2 xtensa
|
|
platform_exclude: qemu_cortex_m3
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: false
|
|
regex:
|
|
- "Fatal fault in .*thread"
|
|
- "STACK_ALIGN.*"
|
|
- "Canary Initial Value = 0x[0-9a-f]+ threads 0x[0-9a-f]+"
|
|
test_stack_guard:
|
|
arch_whitelist: arm
|
|
extra_args: CONF_FILE=prj_stack_guard.conf
|
|
filter: CONFIG_MPU_STACK_GUARD
|
|
tags: apps
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: false
|
|
regex:
|
|
- "Fatal fault in thread 0x[0-9a-f]+! Aborting."
|
|
- "STACK_ALIGN.*"
|
|
- "Canary Initial Value = 0x[0-9a-f]+ threads 0x[0-9a-f]+"
|