blob: 192994c72e7bfcb29d150f26eff08ae60ffd1ad6 [file] [log] [blame]
sample:
name: CMSIS_RTOS_V1 Dining Philosophers
common:
integration_platforms:
- native_posix
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 qemu_leon3 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"