2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2017-12-11 09:05:44 +08:00
|
|
|
name: Dining Philosophers
|
2017-12-29 09:22:54 +08:00
|
|
|
common:
|
|
|
|
extra_args: "-DDEBUG_PRINTF=1"
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: introduction
|
2017-12-29 09:22:54 +08:00
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: false
|
|
|
|
regex:
|
|
|
|
- ".*STARVING.*"
|
|
|
|
- ".*DROPPED ONE FORK.*"
|
|
|
|
- ".*THINKING.*"
|
|
|
|
- ".*EATING.*"
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher:
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: introduction
|
2018-08-21 12:10:46 +08:00
|
|
|
sample.philosopher.tracing:
|
|
|
|
min_ram: 32
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_SEGGER_SYSTEMVIEW=y
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.same_prio:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DSAME_PRIO=1"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.static:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DSTATIC_OBJS=1"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.semaphores:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=SEMAPHORES"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.stacks:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=STACKS"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.fifos:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=FIFOS"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.lifos:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=LIFOS"
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.preempt_only:
|
2017-12-29 09:22:54 +08:00
|
|
|
extra_configs:
|
|
|
|
- CONFIG_NUM_PREEMPT_PRIORITIES=6
|
|
|
|
- CONFIG_NUM_COOP_PRIORITIES=0
|
|
|
|
- CONFIG_BT=n
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.philosopher.coop_only:
|
2017-12-29 09:22:54 +08:00
|
|
|
extra_configs:
|
|
|
|
- CONFIG_NUM_PREEMPT_PRIORITIES=0
|
|
|
|
- CONFIG_NUM_COOP_PRIORITIES=6
|