zephyr/samples/mpu/mpu_stack_guard_test/sample.yaml
Anas Nashif 40188a8449 samples: exclude some platforms due to bug [REVERTME]
Do not build for some unsupported architecture and exclude ARM qemu
platform due to bug #5735.

STACK_ALIGN 0x8
MPU STACK GUARD Test
Canary Initial Value = 0xf0cacc1a threads 0x200010e0
Canary = 0x20000240    Test not passed.
***** BUS FAULT *****
  Executing thread ID (thread): 0x200010e0
  Faulting instruction address:  0x209c
  Imprecise data bus error
Fatal fault in thread 0x200010e0! Aborting.
***** HARD FAULT *****
  Fault escalation (see below)
***** BUS FAULT *****
  Executing thread ID (thread): 0x200010e0
  Faulting instruction address:  0x1f4
  Imprecise data bus error
Fatal fault in ISR! Spinning...

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-25 04:45:35 +05:30

23 lines
585 B
YAML

sample:
name: MPU Stack Guard
tests:
test:
tags: apps
harness: console
# We do not handle segfaults here
arch_exclude: posix riscv32 nios2
platform_exclude: qemu_cortex_m3
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]+"
test_stack_guard:
arch_whitelist: arm
extra_args: CONF_FILE=prj_stack_guard.conf
filter: CONFIG_MPU_STACK_GUARD
tags: apps
harness: console