2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2017-12-12 01:35:31 +08:00
|
|
|
name: MPU Stack Guard
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2017-12-06 02:00:43 +08:00
|
|
|
test:
|
|
|
|
tags: apps
|
2017-12-12 01:35:31 +08:00
|
|
|
harness: console
|
2017-12-29 21:56:56 +08:00
|
|
|
# We do not handle segfaults here
|
2018-02-10 06:39:04 +08:00
|
|
|
arch_exclude: posix riscv32 nios2 xtensa
|
2018-01-02 06:14:10 +08:00
|
|
|
platform_exclude: qemu_cortex_m3
|
2017-12-29 22:53:59 +08:00
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: false
|
|
|
|
regex:
|
2018-08-25 03:31:51 +08:00
|
|
|
- "Fatal fault in .*thread"
|
2017-12-29 22:53:59 +08:00
|
|
|
- "STACK_ALIGN.*"
|
|
|
|
- "Canary Initial Value = 0x[0-9a-f]+ threads 0x[0-9a-f]+"
|
2017-12-06 02:00:43 +08:00
|
|
|
test_stack_guard:
|
|
|
|
arch_whitelist: arm
|
|
|
|
extra_args: CONF_FILE=prj_stack_guard.conf
|
|
|
|
filter: CONFIG_MPU_STACK_GUARD
|
|
|
|
tags: apps
|
2017-12-12 01:35:31 +08:00
|
|
|
harness: console
|
2018-08-25 03:31:51 +08:00
|
|
|
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]+"
|