blob: 5ca2a2d83402097700aa445db2fd628561c4e5b1 [file] [log] [blame]
sample:
name: Dining Philosophers
common:
extra_args: DEBUG_PRINTF=1
tags:
- introduction
- kernel
harness: console
min_ram: 16
integration_platforms:
- native_sim
harness_config:
type: multi_line
ordered: false
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"
tests:
sample.kernel.philosopher: {}
sample.kernel.philosopher.same_prio:
extra_args: SAME_PRIO=1
sample.kernel.philosopher.static:
extra_args: STATIC_OBJS=1
sample.kernel.philosopher.semaphores:
extra_args: FORKS=SEMAPHORES
sample.kernel.philosopher.stacks:
extra_args: FORKS=STACKS
sample.kernel.philosopher.fifos:
extra_args: FORKS=FIFOS
sample.kernel.philosopher.lifos:
extra_args: FORKS=LIFOS
sample.kernel.philosopher.preempt_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n
- CONFIG_NETWORKING=n
sample.kernel.philosopher.coop_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=7