zephyr/samples/mpu/mpu_stack_guard_test/sample.yaml
Maureen Helm 3ef2cc66c0 samples: mpu_stack_guard_test: Fix yaml regexes
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>
2018-08-27 16:24:48 -04:00

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