zephyr/samples/portability/cmsis_rtos_v1/philosophers/sample.yaml
Kumar Gala 49f1e22a13 samples: portability: set integration_platforms to native_posix
Set integration_platforms on these samples to just native_posix.  This
should be sufficient to make sure these tests build and run.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-02-19 18:49:54 -05:00

30 lines
813 B
YAML

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"