zephyr/samples/philosophers/sample.yaml
Andrei Emeltchenko 4215968b74 samples: philosophers: Fix extra_args not used
Fixed extra_args parameter DEBUG_PRINTF in sample.yaml not used.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2020-04-14 08:00:12 -04:00

44 lines
1.2 KiB
YAML

sample:
name: Dining Philosophers
common:
extra_args: DEBUG_PRINTF=1
tags: introduction
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"
tests:
sample.kernel.philosopher:
tags: introduction
sample.kernel.philosopher.tracing:
min_ram: 32
extra_configs:
- CONFIG_SEGGER_SYSTEMVIEW=y
sample.kernel.philosopher.same_prio:
extra_args: "-DSAME_PRIO=1"
sample.kernel.philosopher.static:
extra_args: "-DSTATIC_OBJS=1"
sample.kernel.philosopher.semaphores:
extra_args: "-DFORKS=SEMAPHORES"
sample.kernel.philosopher.stacks:
extra_args: "-DFORKS=STACKS"
sample.kernel.philosopher.fifos:
extra_args: "-DFORKS=FIFOS"
sample.kernel.philosopher.lifos:
extra_args: "-DFORKS=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=6