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:
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher:
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: introduction
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.tracing:
|
2018-08-21 12:10:46 +08:00
|
|
|
min_ram: 32
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_SEGGER_SYSTEMVIEW=y
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.same_prio:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DSAME_PRIO=1"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.static:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DSTATIC_OBJS=1"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.semaphores:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=SEMAPHORES"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.stacks:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=STACKS"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.fifos:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=FIFOS"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.lifos:
|
2018-01-19 05:22:27 +08:00
|
|
|
extra_args: "-DFORKS=LIFOS"
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.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
|
2019-10-21 18:01:07 +08:00
|
|
|
- CONFIG_NETWORKING=n
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.kernel.philosopher.coop_only:
|
2017-12-29 09:22:54 +08:00
|
|
|
extra_configs:
|
|
|
|
- CONFIG_NUM_PREEMPT_PRIORITIES=0
|
|
|
|
- CONFIG_NUM_COOP_PRIORITIES=6
|