blob: d45e00eb2c9fac6cfc533314bba689c9597380ec [file] [log] [blame]
sample:
name: CMSIS_RTOS_V1 Dining Philosophers
common:
extra_args: DEBUG_PRINTF=1
tags: cmsis_rtos
min_ram: 32
min_flash: 34
# qemu_x86_64 and up_squared need bigger stack
# but CMSIS limits the stack size, resulting
# in stack overflow.
platform_exclude: qemu_xtensa qemu_x86_64 up_squared
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"
tests:
sample.portability.cmsis_rtos_v1.philosopher:
tags: cmsis_rtos
sample.portability.cmsis_rtos_v1.philosopher.same_prio:
extra_args: "-DSAME_PRIO=1"
sample.portability.cmsis_rtos_v1.philosopher.semaphores:
extra_args: "-DFORKS=SEMAPHORES"