2018-12-21 12:54:35 +08:00
|
|
|
sample:
|
|
|
|
name: CMSIS_RTOS_V2 Dining Philosophers
|
|
|
|
common:
|
2020-04-14 15:59:12 +08:00
|
|
|
extra_args: DEBUG_PRINTF=1
|
2019-11-15 22:03:53 +08:00
|
|
|
tags: cmsis_rtos
|
2018-12-21 12:54:35 +08:00
|
|
|
min_ram: 32
|
|
|
|
min_flash: 34
|
2019-10-25 03:57:57 +08:00
|
|
|
platform_exclude: qemu_xtensa qemu_x86_64
|
2018-12-21 12:54:35 +08:00
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: false
|
|
|
|
regex:
|
|
|
|
- ".*STARVING.*"
|
|
|
|
- ".*DROPPED ONE FORK.*"
|
|
|
|
- ".*THINKING.*"
|
|
|
|
- ".*EATING.*"
|
|
|
|
tests:
|
2019-11-15 22:03:53 +08:00
|
|
|
sample.portability.cmsis_rtos_v2.philosopher:
|
|
|
|
tags: cmsis_rtos
|
|
|
|
sample.portability.cmsis_rtos_v2.philosopher.same_prio:
|
2018-12-21 12:54:35 +08:00
|
|
|
extra_args: "-DSAME_PRIO=1"
|
2019-11-15 22:03:53 +08:00
|
|
|
sample.portability.cmsis_rtos_v2.philosopher.semaphores:
|
2018-12-21 12:54:35 +08:00
|
|
|
extra_args: "-DFORKS=SEMAPHORES"
|