zephyr/samples/philosophers/sample.yaml

39 lines
858 B
YAML

sample:
name: Dining Philosophers
common:
extra_args: "-DDEBUG_PRINTF=1"
tags: samples
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"
tests:
test:
tags: samples
test_same_prio:
extra_args: "-DSAME_PRIO=1"
test_static:
extra_args: "-DSTATIC_OBJS=1"
test_semaphores:
extra_args: "-DFORKS=SEMAPHORES"
test_stacks:
extra_args: "-DFORKS=STACKS"
test_fifos:
extra_args: "-DFORKS=FIFOS"
test_lifos:
extra_args: "-DFORKS=LIFOS"
test_preempt_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n
test_coop_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=6