zephyr/samples/philosophers/sample.yaml
Anas Nashif f37287bbca samples: cleanup sample test naming
Cleanup test names and make them suitable for import into test
management system.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-06-11 17:11:18 -04:00

39 lines
984 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:
sample.philosopher:
tags: samples
sample.philosopher.same_prio:
extra_args: "-DSAME_PRIO=1"
sample.philosopher.static:
extra_args: "-DSTATIC_OBJS=1"
sample.philosopher.semaphores:
extra_args: "-DFORKS=SEMAPHORES"
sample.philosopher.stacks:
extra_args: "-DFORKS=STACKS"
sample.philosopher.fifos:
extra_args: "-DFORKS=FIFOS"
sample.philosopher.lifos:
extra_args: "-DFORKS=LIFOS"
sample.philosopher.preempt_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n
sample.philosopher.coop_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=6